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

Re: Newbie administrator



On Thu, Feb 27, 2003 at 04:42:07PM +0800, Robert Storey wrote:
> Now, one bash question I've been meaning to ask for a long time...
> 
> I keep seeing this...
>   {} \;
> 
> ...on the end of lines in bash scripts. I don't have a good bash book,
> and I don't know what this means, and obviously "man {} \;" isn't
> going to help. Can anyone reveal for thick-headed "programmers" like
> me what that does?

That's actually a question about 'find'. If you look for "-exec" in the
find(1) man page, you'll see where {} (sometimes \{\}) and \; need to be
used.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: