sed-Problem

Oliver Baum <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization Fraunhofer IIS / AMM
Message-ID <[email protected]>
Hallo, Liste! (oder besser: Leute auf der Liste ;-)

Ich möchte in vielen Dateien das Null-Zeichen (also "\0" oder ASCII-Code 
0) ersetzen.

Was mir fehlt, ist der entsprechende sed-Ausdruck.

sed -e s/\0//g
schmeißt mir logischweise alle "0"en raus,

aber weder
sed -e s/\x00//g
noch
sed -e s/\d000//g
noch
sed -e s/\d0//g
erbringt den gewünschten Effekt.

Hat irgendjemand eine Idee, was ich falsch mache?!?

Vielen Dank für die Hilfe im Voraus!


Viele Grüße,

		Oliver

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