BartlebyScrivener wrote:
On Jul 15, 2:30 pm, Ron Johnson <[EMAIL PROTECTED]> wrote:
Try this. It's untested but should nudge you in the right direction.
Almost, it prints each word on a separate line, but I'll pursue the
idea.
Thank you,
rd
grep -R 'the' * | (of=""; while read f l ; do if [ "$f" != "$of" ] ;
then echo ; fi; echo $f $l ; of=$f; done)
will put a linebreak after every new filename, as long the none of the
filenames have spaces in.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]