gno/usr.bin/awk/tests/out2/bundle.out
tribby 0b6d503134 awk 2.0 for GNO/ME, including modified Bell Labs source code, test cases,
and output files for test case comparison. See README.gno for implementation
notes. NOTE: some test cases in tests/dotests are commented-out because
they depend on pipes working and/or the "sort" utility.
1998-04-07 16:19:01 +00:00

8 lines
303 B
Plaintext

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