removing carrier return with sed...
I can't seem to a) remember how to do this or b) find anything useful online...
Obviously I can use : tr -d '\n'
But i want to use sed dagnamit!
Put me out of my misery.. pls...
PS. sorry carriage return ... and yes, I didn't spell in wrong when searching online! :P
Obviously I can use : tr -d '\n'
But i want to use sed dagnamit!

Put me out of my misery.. pls...

PS. sorry carriage return ... and yes, I didn't spell in wrong when searching online! :P
Originally Posted by stevem2k
dos <cr> or 'nix ?
:0,$s/<ctrl-m><ctrl-v>//g
sed '/^$/d'
:0,$s/<ctrl-m><ctrl-v>//g
sed '/^$/d'
Thanks

I'm having a bad day... arrghh.... nothing working... need more alcohol obviously....
Last edited by DrEvil; Mar 9, 2006 at 05:53 PM.
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM




