Skip to main content
2 of 2
Commonmark migration

awk , 65 bytes

BEGIN{for(;;){for(;++$++i>9;)$i=0;for(i=NF+1;i;)printf--i?$i:RS}}

Counts up "forever" using the fields as an array. I made sure this works with the standard Ubuntu awk (mawk).

Cabbie407
  • 1.3k
  • 10
  • 19