[thelist] removing redundant entries
Hassan Schroeder
hassan at webtuitive.com
Sun Oct 6 11:16:01 CDT 2002
D. Bruce Saurer wrote:
> I have a comma deliminated dump from a database
> that had corrupted. 1600 unique rows became 25,600.
> How can I remove the redundant lines keeping the original?
If you're on a *nix system or Windows-with-Cygwin,
prompt% cat large.csv | sort | uniq > small.csv
HTH!
--
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
-- creating dynamic Web sites and applications since 1994 --
More information about the thelist
mailing list