hey im having a problem with my script
replace="dir/another_dir"
sed s/something/$replace/g
is there a way i can get around this problem without using the escape string character "\"
hey im having a problem with my script
replace="dir/another_dir"
sed s/something/$replace/g
is there a way i can get around this problem without using the escape string character "\"
Use another separator and quote your variable:
sed s_something_"$replace"_g
Regards
oh thanks !
works