[lug] find command or similar

Tkil tkil at scrye.com
Tue May 13 12:02:02 MDT 2003


>>>>> "Stephen" == Stephen G. <boulderlug at max-uptime.com> writes:

Stephen> More then 200 characters but less than say 240?

>>>>> "Ed" == Ed Hill <ed at eh3.com> writes:

Ed> find . -name '*' -depth -printf "%f\n" | egrep '.{201,239}'

ITYM:

   egrep '^.{201,239}$'

Otherwise, lines over 240 will still match.

Also, instead of

   -printf "%f\n"

You can just use

   -print

Out of curiosity, why are you using "-depth"?

t.




More information about the LUG mailing list