Let us play a little golfing game. Given a single line of N space separated numbers from STDIN, one must output those numbers on N lines.
So far, I came up with the three following bash solutions :
xargs -n1
(9)tr \ \\n
(8)fmt -1
(6)
Can anyone do better? I am eager to learn new tricks
tips
question. \$\endgroup\$