[ILUG] Another Scripting Question...
Michael Armbrecht
michael.armbrecht at gmail.com
Sat Jul 30 10:52:52 IST 2005
On 30/07/05, Brian Foster <blf at blf.utvinternet.ie> wrote:
> | From: Michael Armbrecht <michael.armbrecht at gmail.com>
> | Date: Fri, 29 Jul 2005 12:23:50 +0100
> |
> | sed -e 's/notify yes;/notify no; \x0A masters { $IP;}/'
>
> interesting!
> that does seem to work (with GNU sed(1) anyways),
> albeit I've never(?) before either seen, or seen
> documented, the `\x' replacement-escape. after a
> very _quick_ skim of GNUs `info sed' (GNUs sed(1)
> man page is (almost) useless ;-( ), I still can
> say I've never, AFAIK, seen it documented .... ;-\
Could it be that it's not a sed replacement escape but just a standard
way to include the hex code into a string; ie. \x for hex, \0 for
octal etc -- non? At least the echo man page was where I got the idea
from...
Michael
--
"Microwave oven? Whaddya mean, it's a microwave oven? I've been
watching Channel 4 on the thing for two weeks."
More information about the ILUG
mailing list