xref: /freebsd/contrib/one-true-awk/testdir/unbundle.awk (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
1# unbundle - unpack a bundle into separate files
2
3$1 != prev { close(prev); prev = $1 }
4           { print substr($0, index($0, " ") + 1) >$1 }
5