in my cpp application, i want to replace all references to 'Config.h' with 'xConfig.h' - how do i do that from the command line?
Zapadude: sed -i 's/Config.h/xConfig.h/g' file
keeping in mind that -i is a nonstandard extension to sed
otherwise akamoto_'s solutions is OK
kojiro: its a standard GNU sed extension :-)
that's what SHE sed.
tee hee
mmm_brains
Nov 15, 2007 03:49
I made a console based ascii paint program in bash 3.0 script.
screenshot what a waste of a day.
mmm_brains
Nov 04, 2007 01:13
I wish I could relive one of the few programming interviews I've had. The last one back in Edmonton where I was tested with Awk. I could so pwn the test I was given in like 5 seconds if it were today. I can't believe I couldn't learn that shit in an hour. Well, I believe it but damnit. It's so easy
(
Read more... )
mmm_brains
Oct 29, 2007 09:43
I was about to join a adult star trek group but it ended up being old and no longer going. I don't know where else to make friends. I miss hanging out with Jeff =\.
mmm_brains
Oct 24, 2007 20:25
Oh man I miss power. BC Hydro shut off our power three days ago. It's sucked. I have a huge power bill coming up too. I wish i didn't have to put it in my name but i wanted power too bad. There is like 5 months of power bills pending and there has been so much turnover in people living here in the last 5 months. =\ We ran on candlelight the
(
Read more... )