sed - remove nul lines from file

James B. Byrne byrnejb at harte-lyne.ca
Tue Nov 7 18:57:03 UTC 2017


On Tue, November 7, 2017 13:53, Yuri Pankov wrote:

>
> Then there's probably something else on those lines with \0's as it
> works for me with a simple example created using the following
> command:
>
> printf "abc\0\n\0\0\nd\0ef\n" > 1
>

If there is then it is invisible to vim set list.


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



More information about the freebsd-questions mailing list