Mercurial > hg > cc > cirrus_work
view bin/acut @ 84:c18c307cc325
merge, including pointless fix wrt pq
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Mon, 21 Aug 2023 13:06:20 -0400 |
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/\$/,\$}\}