awk/testdir/unbundle.awk

5 lines
144 B
Awk
Raw Normal View History

2019-06-23 05:13:57 -04:00
# unbundle - unpack a bundle into separate files
$1 != prev { close(prev); prev = $1 }
{ print substr($0, index($0, " ") + 1) >$1 }