View Single Post
Old 05-30-2006, 02:41 PM  
salsbury
Confirmed User
 
Join Date: Feb 2002
Location: Seattle
Posts: 1,070
wc -l < file | uniq

is not the same as

uniq < file | wc -l

in that "| uniq" is unnecessary in the first example. it's uniq'ing one line. fyi
__________________
salsbury is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote