bzcat and bunzip -c support from Thomas Lundquist

This commit is contained in:
Glenn L McGrath
2001-11-18 14:20:25 +00:00
parent fedce06b7f
commit fff11f1ab7
3 changed files with 44 additions and 5 deletions

View File

@@ -68,6 +68,9 @@
APPLET(bunzip2, bunzip2_main, _BB_DIR_USR_BIN)
#endif
APPLET_NOUSAGE("busybox", busybox_main, _BB_DIR_BIN)
#ifdef CONFIG_BUNZIP2
APPLET(bzcat, bunzip2_main, _BB_DIR_USR_BIN)
#endif
#ifdef CONFIG_CAT
APPLET(cat, cat_main, _BB_DIR_BIN)
#endif

View File

@@ -52,11 +52,17 @@
"bar"
#define bunzip2_trivial_usage \
"FILE"
"[-c] FILE"
#define bunzip2_full_usage \
"Uncompress FILE to current directory, stripping its .bz2 extension.\n"\
" -c output to stdout\n"\
" -k is assumed"
#define bzcat_trivial_usage \
"FILE"
#define bzcat_full_usage \
"Uncompress to stdout."
#define cat_trivial_usage \
"[FILE]..."
#define cat_full_usage \