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: Claudio Fontana
Subject: Re: grep RFE: End-of-Line choices
Date: Thu, 26 Feb 2004 17:26:13 +0100 (CET)

> On Tue, Feb 24, 2004 at 05:19:11PM -0800, Mabry
> Tyson wrote:
> >   --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.

Hello,

1) isn't 0x0d, 0x0a trasparently handled by C as char
'\n' under DOS/Win? In this case I would suspect that
only the two values LF | CR would be needed.

2) stated that the eol character is handled by
variable eolbyte for both grepping and outputting, and
I don't have a MAC, can the \r be sent to the terminal
during output presentation under MAC or should it be
sent as \n instead?

3) I would be glad to implement the feature if it's
needed and it is not already being implemented. Is it?

Claudio Fontana



______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il 
filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/




reply via email to

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