Re: sed help please

2009-01-27 Thread Daniel Dalton
Hi Axel, > Use a backslash \ bevor the slash/: "\/" works fine Thanks, very much, that worked! Cheers, Daniel. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: sed help please

2009-01-27 Thread Teemu Likonen
Axel Freyn (2009-01-27 12:11 +0100) wrote: > On Tue, Jan 27, 2009 at 09:35:46PM +1100, Daniel Dalton wrote: >> sed s//media// filename >> >> One question, how can I include the / charactar in the search patton? >> This works fine except, I need to add a / in the search patton, any >> ideas how t

Re: sed help please

2009-01-27 Thread Axel Freyn
Hi Daniel, On Tue, Jan 27, 2009 at 09:35:46PM +1100, Daniel Dalton wrote: > Hi, > > I've come up with this sed command: > sed s//media// filename > > One question, how can I include the / charactar in the search patton? > This works fine except, I need to add a / in the search patton, any > idea

sed help please

2009-01-27 Thread Daniel Dalton
Hi, I've come up with this sed command: sed s//media// filename One question, how can I include the / charactar in the search patton? This works fine except, I need to add a / in the search patton, any ideas how to do this so sed doesn't complain? Thanks very much, Daniel. -- To UNSUBSCRIBE