hi,
I would like to search and replace with sed and replace with something in a variable wich is containing some specials symbols like &
.
For example I done something like that:
sed "s|http://.*|http://$URL|"
where URL=1.1.1.1/login.php?user=admin&pass=password
. I thinks it became a problem because I use ?
and &
in my variable.
How can I do my search and replace?
Thanks in advance