how to use sed

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

 



Sorry to bother you with this but I want to know.
I tried to use sed to change the perl path of my cgi scripts in a
directory.
from /usr/bonsaitools/bin/perl to /usr/bin/perl
#sed 's/\/usr\/bonsaitools\/bin\/perl/\/usr\/bin\/perl/g' *.cgi
it didnt work so I changed every thing one by one but I know sed can do
the job for me.
can someone teach me that?
thank you



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

  Powered by Linux