Applied patch from Christophe Boyanique to add an egrep alias for grep.
This commit is contained in:
@ -125,6 +125,9 @@
|
||||
#ifdef BB_ECHO
|
||||
APPLET(echo, echo_main, _BB_DIR_BIN)
|
||||
#endif
|
||||
#if defined(BB_FEATURE_GREP_EGREP_ALIAS) && defined(BB_GREP)
|
||||
APPLET(egrep, grep_main, _BB_DIR_BIN)
|
||||
#endif
|
||||
#ifdef BB_EXPR
|
||||
APPLET(expr, expr_main, _BB_DIR_USR_BIN)
|
||||
#endif
|
||||
|
@ -344,6 +344,9 @@
|
||||
"\t-v\tselect non-matching lines\n" \
|
||||
"\t-s\tsuppress file open/read error messages"
|
||||
|
||||
#define egrep_trivial_usage grep_trivial_usage
|
||||
#define egrep_full_usage grep_full_usage
|
||||
|
||||
#define gunzip_trivial_usage \
|
||||
"[OPTION]... FILE"
|
||||
#define gunzip_full_usage \
|
||||
|
Reference in New Issue
Block a user