ADDENDUM: how to substitute a no printable character by a string in a text file

From: ROBIN Jean-Marie \(EURIWARE S.A.\) <"ROBIN>
Date: Fri, 09 Mar 2001 18:36:59 +0100

Just a little precision after messages i received:

i can't use perl (not installed for many reasons)
i can't reproduce this code with my keyboard (CtrlV Ctrl...)

All sed commands with ", ', or \\ anywhere does not work.
The error message is: sed Function s/\code/string/g cannot be parsed.

Have a good week-end.
JM

-----Message d'origine-----
De: ROBIN Jean-Marie (EURIWARE S.A.)
Date: vendredi 9 mars 2001 17:01
À: tru64-unix-managers_at_ornl.gov
Objet: how to substitute a no printable character by a string in a text
file


Hello Managers,

I want to substitute in a file a no printable character by a
multi-characterstring, as something like that:

sed s/\octal_code/"my_string"/g myfile

sed does not like this syntax and I can't use tr, because my string is
multi-character...
Any suggestions?

ATTENTION :
Si vous n'êtes pas destinataire de ce message, vous n'êtes pas autorisé à copier, retransmettre, distribuer, révéler ou conserver le contenu de ce message.

WARNING :
If you are not the intended recipient, you are not authorised to copy, disclose, distribute or retain in this e-mail.
Received on Fri Mar 09 2001 - 17:38:35 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT