Re: sed script problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Guillaume wrote:
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,

When you run it in a script is it as the same user with the same shell? Is the script picking up your environment?

Kevin

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux