New applet, fold
This commit is contained in:
@@ -202,6 +202,9 @@
|
||||
#ifdef CONFIG_FIND
|
||||
APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
|
||||
#endif
|
||||
#ifdef CONFIG_FOLD
|
||||
APPLET(fold, fold_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
|
||||
#endif
|
||||
#ifdef CONFIG_FREE
|
||||
APPLET(free, free_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
|
||||
#endif
|
||||
|
@@ -627,6 +627,16 @@
|
||||
"$ find / -name /etc/passwd\n" \
|
||||
"/etc/passwd\n"
|
||||
|
||||
#define fold_trivial_usage \
|
||||
"[bsw] [FILE]"
|
||||
#define fold_full_usage \
|
||||
"Wrap input lines in each FILE (standard input by default), writing to\n" \
|
||||
"standard output.\n\n" \
|
||||
"Options:\n" \
|
||||
"\t-b\tcount bytes rather than columns\n" \
|
||||
"\t-s\tbreak at spaces\n" \
|
||||
"\t-w\tuse WIDTH columns instead of 80\n"
|
||||
|
||||
#define free_trivial_usage \
|
||||
""
|
||||
#define free_full_usage \
|
||||
|
Reference in New Issue
Block a user