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

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

ed: please give me a little control over appending final newlines


From: Dan Jacobson
Subject: ed: please give me a little control over appending final newlines
Date: 23 Feb 2002 14:56:27 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

The ed manual says:
       If a text (non-binary) file is not terminated by a newline
       character,  then ed appends one on reading/writing it.  In
       the case of a binary file, ed does not append a newline on
       reading/writing.

OK, please give me final control of this action thru a command line
switch to override ed's choice if I need to.

Don't just keep the decision behind my back with not even a definition
of just exactly what ed believes are "text (non-binary) files".

And, if it is so smart, why doesn't it know about what happens if you
just add a NL to a CR-LF file?  I wouldn't complain if I had a way to
control ed.
-- 
http://www.geocities.com/jidanni/ Taiwan(04)25854780



reply via email to

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