On Sat, Jan 12, 2002 at 08:16:29PM +0530, Mayuresh Kathe wrote: > I was wondering if the following would be correct: > sed 's/\/usr\/bin/\/usr\/local\/bin/g' *
I hope you are substituting in text files... sed -e 's,/usr/bin,/usr/local/bin,g' Or, better still, sed -e 's,\(/usr\)\(/bin\),\1/local\2,g' ie, If you use another separator for sed, you don't have to escape the slashes... Binand _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
