On Mon, Jul 21, 2014 at 10:05:29PM +0000, Danny Wong (dannwong) wrote: > Do it the perl way, hash it.
Or do it the unix way: $ sort -u filename The -u means unique. You also have some lines that differ only in case, so you might prefer: $ sort -uf filename The -f means fold, which ignores lines which differ only in case. -- Paul Johnson - p...@pjcj.net http://www.pjcj.net -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/