[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sed help please



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
> ideas how to do this so sed doesn't complain?
Use a backslash \ bevor the slash/:  "\/" works fine


Axel


Reply to: