in reply to state preserving uniq
(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'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: state preserving uniq
by Aristotle (Chancellor) on Mar 01, 2003 at 17:28 UTC | |
by xmath (Hermit) on Mar 01, 2003 at 17:39 UTC | |
|
Re: Re: state preserving uniq
by Chady (Priest) on Mar 01, 2003 at 12:16 UTC | |
|
Re: Re: state preserving uniq
by Anonymous Monk on Mar 01, 2003 at 15:58 UTC | |
by xmath (Hermit) on Mar 01, 2003 at 16:22 UTC |