[Top][All Lists]

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

Re: Emulating old -r functionality.

From: David Wilson
Subject: Re: Emulating old -r functionality.
Date: Sun, 25 Nov 2012 11:03:46 +0200

On 25 November 2012 10:57, Paul Eggert <address@hidden> wrote:
> On 11/24/2012 10:13 PM, David Wilson wrote:
>> my very old shell macros no longer function as they once did.
> There's not much context here, so it's not clear
> what you're asking for.  Do you want grep to ignore
> -r when no file names are being passed?

No, that would imply reverting the change which is unlikely to happen
(and cause a further breaking change for anyone relying on the new
behaviour). I want to know how to emulate the old behaviour, as this
isn't obvious. My only solution is to wrap grep in a macro that parses
its arguments, and passes -r only if paths have been provided on the
command line.


reply via email to

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