procmail
[Top] [All Lists]

Re: trailing ASCII zeros (^@) appended to mail in mailbox

1997-01-31 20:42:27
Beads Land <beads(_at_)beadsland(_dot_)com> wrote:
:      does anyone have any suggestions on how to repair the existing
:damage?  I've discovered that sed can't recognize octal \000.

To remove nulls from a file, the Swiss Army Chainsaw is your friend:

  perl -pe 's/\000//g' < filewithnulls > filewithout

-- 
Bill Evans

<Prev in Thread] Current Thread [Next in Thread>