Debian Codegraph @

join-into-groups-of

raw
1 #!/bin/sh
2
3 # Public domain notice for all NCBI EDirect scripts is located at:
4 # https://www.ncbi.nlm.nih.gov/books/NBK179288/#chapter6.Public_Domain_Notice
5
6 if [ "$#" -lt 1 ]
7 then
8 xargs -n 10000 echo |
9 sed 's/ /,/g' |
10 grep '.'
11 else
12 xargs -n "$@" echo |
13 sed 's/ /,/g' |
14 grep '.'
15 fi