Nov 24, 2010 #1 w5000 Technical User Nov 24, 2010 223 PL hello, I found how to combine every 2 lines into one with sed: sed 'N;s/\n/\ /' but how to modify this sed oneliner to get it working for 3 lines?
hello, I found how to combine every 2 lines into one with sed: sed 'N;s/\n/\ /' but how to modify this sed oneliner to get it working for 3 lines?
Nov 24, 2010 Thread starter #2 w5000 Technical User Nov 24, 2010 223 PL ok, I googled something like: sed 'N; s/\n//; N; s/\n//' Upvote 0 Downvote
Nov 24, 2010 1 #3 PHV MIS Nov 8, 2002 53,708 FR And what about this ? sed 'N;N;s!\n!!g' Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote