Search Results

Search: Posts Made By: georgian
2,625
Posted By georgian
Thank you very much. It's perfect.
Thank you very much.
It's perfect.
2,625
Posted By georgian
escaping path
Hi
I use :
path=/var/www/admin
echo "$path" | sed -e 's/\//\\\//g'
this return
\/var\/www\/admin
and is ok.

but
path2=`echo "$path" | sed -e 's/\//\\\//g'`
echo $path2
return an error:...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 10:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy