in reply to Uniq list
A very rudimentary filter to only print the first occurrence of a line in an output stream would be piping it through:
adapted from perlfaq4's How can I remove duplicate elements from a list or array?.perl -nE 'print if not $seen{$_}++'
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|