(It's actually a standard example to which I added lc, and unlike your version it prints out the line right at its first occurrance, rather than first slurping in the whole file)perl -ne '$s{lc $_}++ or print'
In reply to Re: state preserving uniq
by xmath
in thread state preserving uniq
by Chady
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |