Date: Wed, 20 Dec 2000 04:36:52 -0800 From: "Richard Schuder" <rschuder@coolwave.net> To: <freebsd-questions@FreeBSD.ORG> Subject: Replacing text with forward slash in vi Message-ID: <NEBBIIEFELBNMFEGKECBMEMFCBAA.rschuder@coolwave.net>
next in thread | raw e-mail | index | archive | help
Here's a tough one! I want to replace the two dots ``..'' with a URL address like ``http://website.address.com'' in the following text: "../path/to/website/index.html" The vi command would be... :s/\../http://website.address.com but, the two forward slashes following "http:" confuse vi's replace command. Any ideas? Richard Schuder Cool Wave Communications To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBIIEFELBNMFEGKECBMEMFCBAA.rschuder>