* 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.
This commit is contained in:
Matt Kraai
2002-03-27 17:31:01 +00:00
parent fa15f702d2
commit 9cdb0601eb
3 changed files with 29 additions and 21 deletions

View File

@ -0,0 +1,2 @@
echo foo | bzip2 -c | busybox bunzip2 -c > output
echo foo | cmp - output