tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* ADDENDUM: how to substitute a no printable character by a string in a
@ 2001-03-09 17:36 ROBIN Jean-Marie (EURIWARE S.A.)
  0 siblings, 0 replies; only message in thread
From: ROBIN Jean-Marie (EURIWARE S.A.) @ 2001-03-09 17:36 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]

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.)=20
Date: vendredi 9 mars 2001 17:01
=C0: tru64-unix-managers@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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-09 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-09 17:36 ADDENDUM: how to substitute a no printable character by a string in a ROBIN Jean-Marie (EURIWARE S.A.)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox