[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #18430] Problem with solving '{}' brackets

From: Bob Proulx
Subject: Re: [bug #18430] Problem with solving '{}' brackets
Date: Tue, 5 Dec 2006 02:58:33 -0700
User-agent: Mutt/1.5.9i

James Youngman wrote:
> Bob Proulx wrote:
> >  find . -name "foo*" -exec sh -c "file {} >{}.tmp" \;
> [...]
> >What problem should I be aware of in the above?
> touch '/tmp/foo; echo foo: empty; rm -rf $HOME'

Yep.  That would do it.

Fortunately if this were my own data I would be able to know that I
was not out to get myself with something like that.  :-}


reply via email to

[Prev in Thread] Current Thread [Next in Thread]