gno/usr.bin/awk/tests/unbundle

5 lines
144 B
Plaintext
Raw Normal View History

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