Date: Tue, 19 Jun 2007 18:58:17 +0200 From: Olivier Regnier <oregnier@oregnier.net> To: freebsd-questions@freebsd.org Subject: problem with sed substitution Message-ID: <46780B29.7000004@oregnier.net>
next in thread | raw e-mail | index | archive | help
Hi everyone, I try to use sed with /etc/gettytab file. I would like to replace this text : \r\n%s\%m ($h) (%t)\r\n\r by Hello world. I tested with this command : % sed -i.old -e 's/\r\n%s\%m ($h) (%t)\r\n\r/Hello world/' but that doesn't work at all. Can you help me please ? Thank you :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46780B29.7000004>