Re: problem with sed substitution

2007-06-19 Thread Frank Shute
On Tue, Jun 19, 2007 at 06:58:17PM +0200, Olivier Regnier wrote: > > 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 wor

Re: problem with sed substitution

2007-06-19 Thread youshi10
On Tue, 19 Jun 2007, Olivier Regnier wrote: 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.

problem with sed substitution

2007-06-19 Thread Olivier Regnier
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 :) ___