Date: Fri, 15 Jun 2007 12:29:02 +0200 From: Olivier Regnier <oregnier@oregnier.net> To: freebsd-questions@freebsd.org Subject: problem with sed command and csh Message-ID: <467269EE.6090001@oregnier.net>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?467269EE.6090001>