how to use sed

naxis naxis at valiansys.com
Wed Feb 9 05:57:10 UTC 2005


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





More information about the fedora-list mailing list