On Tue, 12 Feb 2008 09:06:57 -0700, Steve Comstock wrote:
> From "Shell Script Programming in z/OS UNIX"
>(http://www.trainersfriend.com/UNIX_and_Web_courses/u515descr.htm):
>
Bad URL.  Might help to delimit it with blanks:

>( http://www.trainersfriend.com/UNIX_and_Web_courses/u515descr.htm ):

>"-exec command \;   - runs specified command; if command
>                       contains this string {}, the string
>                       is replaced by the found file"
>
>also, later...
>
>   find . -name 'string' -exec grep -i fa {} \;
>
If you're doing this, I'd suggest:

    find . -name 'string' -exec grep -i fa {} /dev/null \;

... to cause the filenames to appear in the output.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to