Using sed to replace text in files

16 08 2012

This is more for my own memory banks (or lack of) but some may find it useful.

So i have 100′s of text files (html in may case) and I want to replace a string of text in each with a new string of text.

So I will use sed

sed -i ’s/oldtextgoeshere/newtextgoeshere/g’ *.html

That’s all folks





Plasterboarding

21 03 2011

at last I’ve managed to get some plasterboard up!

This is Douglas’ bedroom, I’ll move onto mine and Katie’s next.

Once that is done it will be onto the utility room, as the plan is to get some core rooms sorted so we can move in!

More photo’s over here





Feeding time at the zoo

18 03 2011

Reading drjnet’s blog reminded me of things parents have to do to get their kids to eat.

I present to you Robo Berbil (my son is obsessed with Thundercats) !

And Douglas’ after he added some Tomato Ketchup





Upstairs at the Cottage 16/03/2011

18 03 2011

Sorry the quality isn’t the best.

My new phone doesn’t like low-light levels.





Comic Relief

18 03 2011





Trailer Park Boys comes to Yarkhill

16 03 2011

Well Katie and I have come to the decision that we should site a static caravan at the cottage in Yarkhill, and rent out our house in Bishops Frome. Hopefully this will speed up the process of finishing the renovation work at the cottage. Found a few on eBay but transportation could be an issue. Katie is going to visit the caravan place at the top of Fromes Hill tomorrow.





Burn baby burn

16 03 2011

image

Men young and old all love a good bonfire!








Follow

Get every new post delivered to your Inbox.