[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] replacing strings in multiple files.
Hi all.
My scripting is a bit shakey, so I wonder if someone else can fix my
problems again :-)
I've got a load of HTML files that have my email address in a mailto:
link in the footer.
Is there an easy way (script preferably) that can grep out my old
address string and replace it with the new one?
The closest thing I can think of is a combination of less | grep | sed
| echo but I'm clueless when it comes to putting it together -
especially at this time of night.
Help? :-)
Baz
--
Barrie J. Bremner
email: baz [at] barriebremner.com | OpenPGP ID: 5164F553
http://barriebremner.com/
[Contact information available at website]
"Linux? Is that some kind of MacOS?"
-- BT technical support
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.