Hmm. Try the following if you want to search within a specific directory: for f in /directory/*; do grep "text" $f; done
or you can omit /directory/ if you want to search the current directory, so the command would look something like this: for f in *; do grep "text" $f; done I think this will do what you need it to do. HTH. Lorenzo Prince happy Shrike user ;) -- "And the next time you consider complaining that running Lucid Emacs 19.05 via NFS from a remote Linux machine in Paraguay doesn't seem to get the background colors right, you'll know who to thank." (By Matt Welsh) -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list