Loops/N plus one half: Difference between revisions

Content added Content deleted
(→‎{{header|SNUSP}}: oops, pasted to wrong task)
Line 302: Line 302:
when there is no element in one of the pipes.
when there is no element in one of the pipes.
yes \ | cat -n | head -n 10 | paste -d\ - <(yes , | head -n 9) | xargs echo
yes \ | cat -n | head -n 10 | paste -d\ - <(yes , | head -n 9) | xargs echo

=={{header|V}}==
[loop
[ [10 =] [puts]
[true] [dup put ',' put succ loop]
] when].

Using it
|1 loop
=1,2,3,4,5,6,7,8,9,10