Re: examples in find's man page

2016-07-17 Thread Dale R. Worley
James Youngman writes: >> > find /sbin /usr/sbin -executable \! -readable -print >> >> let's escape ! here for no reason > > The interpretation of and quoting rules for ! have changed > substantially over the years (for example, it is a reserved word in > only some sh variants, and who knows how i

Re: examples in find's man page

2016-07-16 Thread James Youngman
On Tue, Apr 26, 2016 at 9:47 AM, Isabella Parakiss wrote: > > find's man page has some god-awful examples: > > > find . -type f -exec file '{}' \; > > > > Runs `file' on every file in or below the current directory. Notice > > that the braces are enclosed in single quote marks to protect them > >

examples in find's man page

2016-04-26 Thread Isabella Parakiss
find's man page has some god-awful examples: > find . -type f -exec file '{}' \; > > Runs `file' on every file in or below the current directory. Notice > that the braces are enclosed in single quote marks to protect them > from interpretation as shell script punctuation. The semicolon is > simi