Martin Guy scripsit:

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

Ed is meant to edit text files, not arbitrary binary files, and NUL
should not appear in text files, as it has no textual meaning.

-- 
John Cowan      co...@ccil.org
        "Not to know The Smiths is not to know K.X.U."  --K.X.U.

_______________________________________________
bug-ed mailing list
bug-ed@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ed

Reply via email to