Looking for Programmers

Andy Bradford amb-plug at bradfords.org
Sat Mar 11 14:14:50 MST 2006

Thus said Tyler Strickland on Fri, 10 Mar 2006 18:37:51 MST:

> Just  switch 'strings'  for 'cat'  and that  problem is  fixed, though
> there is one more problem - it doubles your word counts. Add -q to the
> grep statement and that one's fixed too.

Haha, that would explain why all  the counts were multiples of 2. Either
-q or just redirect the if  statement to >/dev/null should do the trick.
Might as well just eliminate cat altogether and just sed the input file.
Thanks for your pointers.

[-----------[system uptime]--------------------------------------------]
  2:14pm  up 106 days,  3:43,  2 users,  load average: 0.09, 0.11, 0.04

More information about the PLUG mailing list