The UNIX and Linux Forums
>
Top Forums
>
UNIX for Advanced & Expert Users
sed converting / to \/
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
sed converting / to \/
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
7
(
permalink
)
12-14-2006
sakthi.abdullah
Registered User
Join Date: Nov 2006
Posts: 22
Quote:
Originally Posted by
Perderabo
Backtick version:
abc=`echo "a/b/d" |
sed
's#/#\\\\/#g'`
but I strongly prefer $(...) to `...` for many reasons.
Can you please mention those ..
sakthi.abdullah
View Public Profile
Find all posts by sakthi.abdullah
Find sakthi.abdullah's past nominations received
Find sakthi.abdullah's present nominations given