view bin/acut @ 376:af18b5074464 plus

get new shrink_key working with warc2cdb and vv
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 22 Apr 2026 18:47:51 +0100
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/\$/,\$}\}