bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: grep RFE: End-of-Line choices


From: Stepan Kasal
Subject: Re: grep RFE: End-of-Line choices
Date: Thu, 26 Feb 2004 14:51:57 +0100
User-agent: Mutt/1.4.1i

Hello,

On Tue, Feb 24, 2004 at 05:19:11PM -0800, Mabry Tyson wrote:
> It seems unlikely that you could find a single character switch to 
> control this.  My suggestion would be something like
>   --eol=<vals>
> where <vals> =  <eol>(,<eol>)*
> where <eol> = LF | CR | CRLF
> The default would be OS-specific.  For most unix systems, it would be 
> LF.  For DOS/Windows, it would be LF,CRLF.  For Mac OS X, it should be 
> LF,CR.
> 
> I don't know if there are other EOL conventions that might also be 
> adopted in the same edit.

this sounds resonably.  If you are willing to implement it and donate
your work to FSF, start form the CVS version
        http://savannah.gnu.org/cvs/?group=grep

I could implement it, too, but without any guarantee when it will be done.

Stepan Kasal




reply via email to

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