Date: Sat, 4 Apr 2015 11:48:53 -0500 From: "Nancy Belle"<belle@antennex.com> To: "freebsd-questions"<freebsd-questions@freebsd.org> Subject: Chop and replace method?? Message-ID: <DM__150404113753_01984604235@mail.antennex.com>
index | next in thread | raw e-mail
Hi freebsd-questions I have a really big problem to solve and save hours & hours of time to correct hundreds of file links because of moving a very large section within a web site. I have this now: 1) <a href="../../../archival/archive13/Jan14/Jan114/intro-frankant.html"> and need to chop off this portion of above link example: 2) ../../../archival/archive13/ leaving this as the correct link instead: 3) <a href="Jan14/Jan114/intro-frankant.html"> The front portion to chop is always the same while the rest of the link always varies and should be left as is. I hope someone out there can suggest a way to do this as I am script-challenged and need to fix the links as soon as possible. Thanks for any help in advance! -- All the best, :-) Nancy Belle, belle@antennex.com 4/4/2015home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DM__150404113753_01984604235>
