awk/testdir/unbundle.awk
Arnold D. Robbins d6c466c367 Extract testdir.
2019-06-23 03:13:57 -06:00

5 lines
144 B
Awk

# unbundle - unpack a bundle into separate files
$1 != prev { close(prev); prev = $1 }
{ print substr($0, index($0, " ") + 1) >$1 }