[Novalug] bash commands
Jeff Stoner
leapfrog at freeshell.org
Fri Jan 18 14:53:20 EST 2008
On Fri, 18 Jan 2008, Nino Pereira wrote:
> I'd like to search all the files in a directory
> for the occurrence of a particular
> string. It must be something like
>
> do (until you have had all the files)
> cat *.f | grep --with-filename 'string'
> od
>
> but I don't have an example to modify from. Can you point me
> to one?
Got GNU grep?
grep -r 'string' *.f
--Jeff
"I am not available for comment"
More information about the Novalug
mailing list