Find and replace content in 100 lines
Nancy Belle
belle at antennex.com
Fri May 1 00:58:45 UTC 2015
Hi freebsd-questions
I hope y'all don't mind another question, although I have a slim idea how to do it, but it would need some trial and error to get there. Probably use either sed or perl in some fashion. It's the fashion I'm unsure of.
Running fbsd-9.3
This is probably easy for the script gurus on the list.
Here's the need to fix about 100 lines in a single *.html file:
find this "../../../arch1/arch14"
replace with "../../../../../../foo/foo2/foo3/arch1/arch14"
The quotes are there too.
Hope for help, please!
--
All the best, :-)
Nancy Belle, belle at antennex.com
4/30/2015
More information about the freebsd-questions
mailing list