xref: /freebsd/contrib/one-true-awk/testdir/unbundle.awk (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
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