Re: uniq without sort <-------------- GURU NEEDED
am 25.01.2008 15:14:03 von William Aherngnuist006@gmail.com wrote:
> I want uniq without sorting the initial order.
My AWK is rusty, but this should work:
awk '!seen[$0] { seen[$0] = $0; print $0 }'
Not sure how empty lines would work out.