On Friday 18 June 2004 15:08, Chuck Lewis wrote: > >Correction to my own. > > use sort | uniq -c > > > >EG just drop the -u from sort and pipe to uniq -c > > Larry, > > I was JUST trying the previous post with no success when this came across > but I am still having problems (sort: uniq: No such file or directory) > > > Here is what I have: > > cat /var/log/maillog|grep "size=0, class=0, nrcpts=0"|cut -d [ -f 3|cut -d > ] -f1|sort uniq -c > > What do I have wrong ? :-) >
Chuck, "piped" to uniq EG: | sort | uniq -c you dropped a "pipe" char between sort and uniq... -- Larry Smith SysAd ECSIS.NET [EMAIL PROTECTED] _______________________________________________ Cobaltfacts mailing list posting/subscription services: [EMAIL PROTECTED] http://list.cobaltfacts.com/mailman/listinfo/cobaltfacts/ Search the Archives at: http://list.cobaltfacts.com/ Visit Cobaltfacts on the web: http://www.cobaltfacts.com/
