Dave, good point. use egrep with logical or "|" : find . -type f -printf "%s:\t%p\n" | egrep "^[45][0-9][0-9][0-9]:|^6000:"
On Fri, 2 Nov 2001 11:06:45 -0500 Dave Salovesh <[EMAIL PROTECTED]> wrote: > > Not sure if "find" can do it on it's own... but in UNIX, no > > tool is on it's own! This will work: > > > > find . -type f -printf "%s:\t%p\n" | grep "^[456][0-9][0-9][0-9]:" > > That will match anything from 4000 to 6999. > > But: > > find . -type f -printf "%s:\t%p\n" | grep "^[45][0-9][0-9][0-9]:" > > will match anything between 4000 and 5999, inclusive, and will miss a 6000. > > How would one additionally match the 6000? > > -- > Dave Salovesh > RAM Associates, Inc. > (800) 543-3635 > > -- ---------------------------------------------------------------------- Alan W. Jurgensen - Berbee Information Networks - [EMAIL PROTECTED]
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com