On Fri, Aug 20, 2004 at 03:27:34PM -0500, Kent West wrote: > solution. I'm hoping one of you whiz-guys can provide me an answer in > about ten seconds.
Is this want you want (as an example): [EMAIL PROTECTED] ~]$ echo this is a word in a line | grep -o word word So for your script: grep -o "word" ./file If I understand you correctly. -- Thomas Adam -- "Frankly, Mr. Shankly, since you ask. You are a flatulent pain in the arse." -- Morrissey. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]