Re: sed-Problem

Michael Wenger <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hi Oliver!

Oliver Baum schrieb am 27.10.2004 18:46 :
> Ich möchte in vielen Dateien das Null-Zeichen (also "\0" oder
> ASCII-Code 0) ersetzen.
> [...]
> sed -e s/\0//g    [...]
> sed -e s/\x00//g  [...]
> sed -e s/\d000//g [...]
> sed -e s/\d0//g   [...]

Du hattest es fast ;-)
sed -e 's/\x00//g'
Wahrscheinlich ersetzt die Shell das \x00, wenn du die single-quotes 
nicht verwendest.

Gruß,
Michael

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.