NetBSD-Users archive

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

Re: Find all files with at least one execute bit set



Gavin Reade wrote in
 <CAEB0CvMkkocoCGQpKsicRjUgHcsOGnMsqA9jxExvobRoi0Cv+g%mail.gmail.com@localhost>:
 |You need to learn BSD/ Unix regeps. Then you can issue a " find /dir -name
 |"filetype""

He actually started off with a i think portable find(1)-only
variant; find(1) allows for pretty complex conditions, and
i personally am pretty unsure, and always have to check several
times, especially with multiple conditions (do i need \( .. \)
constructs, for exaxmple).  Same with sed(1).  I for one need
quite a bit of time with these, so i most often go awk instead (or
perl), which just comes naturally to me.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Home | Main Index | Thread Index | Old Index