I'm surprised no-one mentioned the ed/vi 'v' command ("except"):
:v/\.org\./s/\.org/.com/
except that it still won't work for other than US domains. Ho hum.
- Jill.
___________________________________________
Jill Rowling
Senior Design Engineer & Unix System Administrator
Electronic Engineering Department, Aristocrat Technologies
3rd Floor, 77 Dunning Ave Rosebery NSW 2018
Phone: (02) 9697-4484 Fax: (02) 9663-1412
Email: [EMAIL PROTECTED]
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text
- [SLUG] Re: search and replace Angus Lees
- Re: [SLUG] search and replace Peter Samuel
- DNS Serial Number Re: [SLUG] search and replace Dean Hamstead
- Re: DNS Serial Number Re: [SLUG] search and replac... Peter Samuel
- Re: DNS Serial Number Re: [SLUG] search and re... Dean Hamstead
- Re: DNS Serial Number Re: [SLUG] search an... Alexander Else
- Re: DNS Serial Number Re: [SLUG] search an... Peter Samuel
- Re: DNS Serial Number Re: [SLUG] sear... Dean Hamstead
- Re: DNS Serial Number Re: [SLUG] ... Peter Samuel
- Re: DNS Serial Number Re: [SLUG] ... Andrew Shipton
- Re: [SLUG] search and replace Jill Rowling
- Re: [SLUG] search and replace Herbert Xu
- RE: [SLUG] search and replace Jeffrey Borg
