[Top][All Lists]

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

Re: [Bug-ed] Two more buglets

From: John Cowan
Subject: Re: [Bug-ed] Two more buglets
Date: Fri, 8 Apr 2011 11:23:35 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

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 address@hidden  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      address@hidden
        "Not to know The Smiths is not to know K.X.U."  --K.X.U.

reply via email to

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