in reply to a way to do 'sort|uniq'
Deleting the useless use of cat, and using a far-underused sort flag, I'd type that as:cat file.txt|sort|uniq
sort -u file.txt
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: a way to do 'sort|uniq'
by ikegami (Patriarch) on Aug 02, 2005 at 15:48 UTC | |
|
Re^2: a way to do 'sort|uniq'
by tlm (Prior) on Aug 03, 2005 at 03:48 UTC | |
by merlyn (Sage) on Aug 03, 2005 at 06:47 UTC | |
by tlm (Prior) on Aug 03, 2005 at 11:12 UTC | |
|
Re^2: a way to do 'sort|uniq'
by jch341277 (Sexton) on Aug 02, 2005 at 16:30 UTC |