sed script problem

Guillaume guillaume.chardin at gmail.com
Fri Aug 22 08:22:33 UTC 2008


hi,

I hope that someone could answer my question :D

I experience a problem with sed. If i run this sed in 'interactive'
command line with this command line :

sed -i -e '/%B5content%5D/d' file.tx
Note that I use special char in the deleted part I search for.
if I run the same in a script, the command does not delete any
correspondant existing string.

do you know why ?

Thanks,

-- 
Guillaume




More information about the fedora-list mailing list