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 control-@. 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.
_______________________________________________
bug-ed mailing list
bug-ed@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ed