Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com.
-Erik
This commit is contained in:
@ -64,6 +64,9 @@ const struct BB_applet applets[] = {
|
||||
#ifdef BB_DMESG
|
||||
{"dmesg", dmesg_main, _BB_DIR_BIN, dmesg_usage},
|
||||
#endif
|
||||
#ifdef BB_DOS2UNIX
|
||||
{"dos2unix", dos2unix_main, _BB_DIR_USR_BIN, dos2unix_usage},
|
||||
#endif
|
||||
#ifdef BB_DU
|
||||
{"du", du_main, _BB_DIR_USR_BIN, du_usage},
|
||||
#endif
|
||||
@ -313,6 +316,12 @@ const struct BB_applet applets[] = {
|
||||
#ifdef BB_UNIQ
|
||||
{"uniq", uniq_main, _BB_DIR_USR_BIN, uniq_usage},
|
||||
#endif
|
||||
#ifdef BB_UNIX2DOS
|
||||
{"unix2dos", unix2dos_main, _BB_DIR_USR_BIN, unix2dos_usage},
|
||||
#endif
|
||||
#ifdef BB_UNRPM
|
||||
{"unrpm", unrpm_main, _BB_DIR_USR_BIN, unrpm_usage},
|
||||
#endif
|
||||
#ifdef BB_UPDATE
|
||||
{"update", update_main, _BB_DIR_SBIN, update_usage},
|
||||
#endif
|
||||
|
@ -207,6 +207,15 @@ const char dmesg_usage[] =
|
||||
;
|
||||
#endif
|
||||
|
||||
#if defined BB_DOS2UNIX
|
||||
const char dos2unix_usage[] =
|
||||
"dos2unix < dosfile > unixfile\n"
|
||||
#ifndef BB_FEATURE_TRIVIAL_HELP
|
||||
"\nConverts a text file from dos format to unix format.\n"
|
||||
#endif
|
||||
;
|
||||
#endif
|
||||
|
||||
#if defined BB_DU
|
||||
const char du_usage[] =
|
||||
"du [OPTION]... [FILE]...\n"
|
||||
@ -1307,6 +1316,24 @@ const char uniq_usage[] =
|
||||
;
|
||||
#endif
|
||||
|
||||
#if defined BB_UNIX2DOS
|
||||
const char unix2dos_usage[] =
|
||||
"unix2dos < unixfile > dosfile\n"
|
||||
#ifndef BB_FEATURE_TRIVIAL_HELP
|
||||
"\nConverts a text file from unix format to dos format.\n"
|
||||
#endif
|
||||
;
|
||||
#endif
|
||||
|
||||
#if defined BB_UNRPM
|
||||
const char unrpm_usage[] =
|
||||
"unrpm < package.rpm | gzip -d | cpio -idmuv\n"
|
||||
#ifndef BB_FEATURE_TRIVIAL_HELP
|
||||
"\nExtracts an rpm archive.\n"
|
||||
#endif
|
||||
;
|
||||
#endif
|
||||
|
||||
#if defined BB_UPDATE
|
||||
const char update_usage[] =
|
||||
"update [options]\n"
|
||||
|
Reference in New Issue
Block a user