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

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

RE: sed for non-DOS files


From: Roger Spellman
Subject: RE: sed for non-DOS files
Date: Mon, 4 Feb 2002 18:21:28 -0500

I am not sure of this.  

-----Original Message-----
From: Eli Zaretskii [mailto:address@hidden
Sent: Monday, February 04, 2002 3:25 PM
To: address@hidden
Cc: address@hidden
Subject: Re: sed for non-DOS files


> From: Roger Spellman <address@hidden>
> Date: Mon, 4 Feb 2002 14:29:46 -0500 
> 
> Yes, but it would be nice to have an option to sed that turns off
> this feature.

I agree that it would be nice, but having hacked Sed quite a bit, I'm
sorry to report that it's not easy.

> For example, in a C program with a multi-line macro,
> the last character of the line must be a backslash.  GCC seems to
> like UNIX style files, because GCC gives an error if the backslash
> is followed by a Ctrl-M.

I think this is a bug in GCC: it does support files with CR-LF lines,
so it should support that in macros as well.  Are you sure that some
newer version of GCC doesn't fix that?



reply via email to

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