bug-ed
[Top][All Lists]
Advanced

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

Re: [Bug-ed] Two more buglets


From: Antonio Diaz Diaz
Subject: Re: [Bug-ed] Two more buglets
Date: Tue, 12 Apr 2011 17:18:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello Martin,

Martin Guy wrote:
Searching for NUL characters using /^@/ matches any line, whether or
not it contains NULs.
and you can't all eliminate NUL characters with 1,$s/^@//g  (that's a
NUL there, control-V address@hidden  There doesn't seem to be a syntax for
control characters other than \n and its friend)

These seem to be bugs. I'll try to fix them ASAP.

BTW, ed-0.2 man page already said in 1994 that "ed is a line-oriented text editor", so I am not sure how many binary editing capabilities should ed have. (just my 2 cents).


"list"ing a line containing control characters may overflow the
specified line length.  For example, if the line width is the default
of 72 characters, a control characters after the 71st gets printed in
the 72-75th spaces followed by a \

This bug was present in ed-0.2. I'll double-check that it can be fixed without breaking any other thing.


Half the command-line options are missing from the manual page and one
is missing from the --help message

The manual for ed is in texinfo format. The man page is inherited from ed-0.2. I have fixed a number of errors in the man page along the years, but have never dared to document there the non-standard options. I can do it now if nobody objects.


Thanks,
Antonio.



reply via email to

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