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: Eli Zaretskii
Subject: Re: sed for non-DOS files
Date: Mon, 04 Feb 2002 22:25:15 +0200

> 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]