fork download
  1. BEGIN{FS=""}
  2. {
  3. for(i=1;i<=(NF-1);i++){
  4. print $i$(i+1)
  5. }
  6. }
  7.  
Success #stdin #stdout 0s 4220KB
stdin
abcd 10001.
stdout
ab
bc
cd
d 
 1
10
00
00
01
1.