On Thu, Jan 22, 2004 at 09:42:00AM +0000 or so it is rumoured hereabouts,
Darragh Bailey thought:
>> s/\/boot//g is the correct regular expression I think. Use at your own risk
> though.
s@/boot@@g
is a more readable form of the regexp. You don't _have_ to use '/' as the
delimiter in sed/vim regexp searches and it saves escaping other '/'
within the regexp if you use a different char as deimiter. I tend to use
'@' if the patterns will contain '/'.
Conor
--
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
10:43am up 91 days, 3:51, 0 users, load average: 0.04, 0.05, 0.01
Hobbiton.cod.ie
10:38am up 91 days, 3:41, 1 user, load average: 0.02, 0.02, 0.00
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!