On Tue, 3 Dec 2002, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2002-12-03 11:13:39 +0100: > > On Tue, 3 Dec 2002, Malik B�lent wrote: > > > But my expression has "/" that is there is a "/" in a expression > > > What shall i do ? > > > my expression is "new: 11" I want to change "new: 11" with "new/11" > > > > > > thanks > > > > # echo "new: 11" | sed s/new\:\ 11/new\\/11/ > > you don't have to use slashes for the delimiters. see sed(1). > > roman@freepuppy ~ 1003:0 > echo "new: 11" | sed 's,: ,/,' > new/11 > roman@freepuppy ~ 1004:0 > echo "new: 11" | sed 's:\: :/:' > new/11 > roman@freepuppy ~ 1005:0 > echo "new: 11" | sed 's-: -/-' > new/11
Thanks for the tip! I wasn't aware of that. When it comes to man sed(1): Reading a Kafka book is light weight reading compared to that man page. :-) Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
