hush/testsuite/bunzip2/bunzip2-reads-from-standard-input
Matt Kraai 9cdb0601eb * archival/bunzip2.c: Include <unistd.h>.
(bunzip2_main): Read data from standard input if FILE argument is `-' or
  omitted.
* include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite.
* testsuite/bunzip2/bunzip2-reads-from-standard-input: New.
2002-03-27 17:31:01 +00:00

3 lines
74 B
Plaintext

echo foo | bzip2 -c | busybox bunzip2 -c > output
echo foo | cmp - output