You're replying to a comment by Indu.

Indu Permalink
July 03, 2013, 07:00

Hi Peter,
Could you please explain the command?
echo "1234"|sed '/\n/!G;s/\(.\)\(.*\n\)/&\2\1/;//D;s/.//'

I didnt understand how these many iterations are applied in just one input line without any t/b loop.

Appreciate your help!

Thanks,
Indu

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "halflife3_95": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.