sed question
Hello, I have a file which has lines like this
'/images/gallery/wow_yeah.jpg, what I want to do is remove the ', and put in front a url, for example http://madeup.com/images/gallery/wow_yeah.jpg, I been messing around with sed and awk with no luck, and help would be appricated. Have problems with (') character. Lazyuser |
I got this to print text into the front of my file,
sed 's/^/http:\/\/www.madeup.com/' but how do I get rid of ', and my url Right now it looks like http://www.madeup.com'/images/gallery/wow_yeah.jpg, I want to get rid of the ', Lazyuser |
|
That worked, thank you very much.
Lazyuser |
Two other, simpler, ways:
|
All times are GMT -5. The time now is 08:32 AM. |