Thanks to all I will look into both books.
david On Tue, 13 Nov 2001, Gordon Messmer wrote: > On Wed, 14 Nov 2001, Cameron Simpson wrote: > > > On Tue, Nov 13, 2001 at 02:48:07PM -0800, Gordon Messmer <[EMAIL PROTECTED]> wrote: > > | I think you want this: > > | find / -type d -maxdepth 1 -exec du {} \; | egrep -v "/[^/]*/" > > > > You can make that even simpler: > > /.*/ > > No need to use [^/] there... > > That's true, but I mostly quit using '.*' after some very serious > performance problems with a Perl CGI a while back. One '.*' is fine, but > using more than one can cause a string to get traversed in some awful, > awful ways. I try to be more concise. > > > Or of course the cool sed/awk O'Reilly book, which also has regexp stuff. > > Absolutely. Doesn't O'Reilly have a book on regex's specifically? > > -- > If I had a dollar for every brain that you don't have, > I'd have one dollar. - Squidward to SpongeBob > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list