problem with sed command and csh
Olivier Regnier
oregnier at oregnier.net
Fri Jun 15 10:28:33 UTC 2007
Hi everybody,
Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh script, i
trying to execute this command :
sed -e "s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' =>
'WITH_IPV6=1 WITH_SSL=1',/" > /usr/local/etc/pkgtools.conf
The result is not correct, i have an error :
sed: 1: "s/MAKE_ARGS\([^{]*\){/M . . .": bad flag in subsitute command: 'n'
Can you help me please ?
Thank you in advance.
More information about the freebsd-questions
mailing list