bug-grep
[Top][All Lists]
Advanced

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

Re: [bug-grep] Re: grep should have option to skip FIFOs


From: Stepan Kasal
Subject: Re: [bug-grep] Re: grep should have option to skip FIFOs
Date: Thu, 13 Jan 2005 12:07:44 +0100
User-agent: Mutt/1.4.1i

Hi,

On Thu, Jan 13, 2005 at 10:33:52AM +0000, Stephane Chazelas wrote:
> As "-r" is GNU/BSD xargs specific, you might as well use -0:

thank you very much for telling me.

So I'll change my habit and will suggest

        find . \! -type d | xargs grep -H pattern

for command line and

        find . ! -type d -print0 | xargs -r0 grep -H pattern

as a more robust variant for scripts.

Yours,
        Stepan Kasal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]