Hi there,
i want to search and replace strings with sed and normally its no prob but now i am at a point where i dont know further perhaps u could help me.
i want to cat a file and replace certain strings with "html" code but with the special sings in html my bash doesnt take the string as i like.
here is the cat'ed file:
#-------------cat.file-------------------
70
0
0
0
0
70
70
0
0
0
70
#--------------end---------------------
i tried in this one to replace the 70's with the "<img border="0" src="Warning.gif" width="126" height="26"></p>" html code
so i took this command:
cat cat.file | sed s/70/"<img border="0" src="Warning.gif" width="126" height="26"></p>"/g
but no chance he won't replace.....
PLEASE help me
Blubbfish