Code Golfing Split String in Bash 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
Bash (22)

read X;printf %d\\n $X  (thanks to manatwork but without literal NL)



30 read -aX;printf "%d\n" ${X[*]}
26 read X;echo -e ${X// /\n}
28 printf "%d\n" $(&lt;/dev/stdin)
27 printf "%d\n" $(&lt;/dev/fd/0)
26 printf %d\n $(&lt;/dev/fd/0)
23 read X;printf "%d\n" $X