This worked great. Thanks! The uniq command actually accepts an input and output file. No pipe needed.
Arthur Pemberton wrote:
I think the command is `uniq`. You just pipe your text to it. Man page: http://www.computerhope.com/unix/uuniq.htm
Thanks to Ron also. This may be easier to remember since it uses more common commands.
Geoffrion, Ron P [IT] wrote:
cat filelist.txt | sort -u > filelist.unique