view bin/acut @ 25:50337cd1d16f

framework for stats over results of rank correlations
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 14 Nov 2022 18:52:35 +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/\$/,\$}\}