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. Andy -- [-----------[system uptime]--------------------------------------------] 2:14pm up 106 days, 3:43, 2 users, load average: 0.09, 0.11, 0.04 /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
