Mercurial > hg > cc > cirrus_work
view bin/acut @ 210:6faed9e5d9c9
use 2-digit suffixes,
use more care in what we wait for in the outer loop
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Thu, 11 Jan 2024 16:43:16 +0000 |
| parents | 75e0d0013da0 |
| children |
line wrap: on
line source
#!/bin/bash # Use awk to do cut -d whitespace declare ff=("$@") join_array() { local IFS=\$; echo "$*"; } s=$(join_array "${ff[@]}") awk '{print '\$${s/\$/,\$}\}
