aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-14 17:45:45 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-14 17:45:45 +0000
commit893bf282f44b362a18024ccdc7298bba35a4f8cb (patch)
treed843aa04ede661255b69f62e6a5a775a4b2cea2f /include
parent316c48872b5afa0a848a80fb77c7193872a86700 (diff)
downloadbusybox-w32-893bf282f44b362a18024ccdc7298bba35a4f8cb.tar.gz
busybox-w32-893bf282f44b362a18024ccdc7298bba35a4f8cb.tar.bz2
busybox-w32-893bf282f44b362a18024ccdc7298bba35a4f8cb.zip
Applied patch from Christophe Boyanique to add an egrep alias for grep.
git-svn-id: svn://busybox.net/trunk/busybox@2077 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index b3fb291d7..f85f45720 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -125,6 +125,9 @@
125#ifdef BB_ECHO 125#ifdef BB_ECHO
126 APPLET(echo, echo_main, _BB_DIR_BIN) 126 APPLET(echo, echo_main, _BB_DIR_BIN)
127#endif 127#endif
128#if defined(BB_FEATURE_GREP_EGREP_ALIAS) && defined(BB_GREP)
129 APPLET(egrep, grep_main, _BB_DIR_BIN)
130#endif
128#ifdef BB_EXPR 131#ifdef BB_EXPR
129 APPLET(expr, expr_main, _BB_DIR_USR_BIN) 132 APPLET(expr, expr_main, _BB_DIR_USR_BIN)
130#endif 133#endif
diff --git a/include/usage.h b/include/usage.h
index f316018c8..b60f1f911 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -344,6 +344,9 @@
344 "\t-v\tselect non-matching lines\n" \ 344 "\t-v\tselect non-matching lines\n" \
345 "\t-s\tsuppress file open/read error messages" 345 "\t-s\tsuppress file open/read error messages"
346 346
347#define egrep_trivial_usage grep_trivial_usage
348#define egrep_full_usage grep_full_usage
349
347#define gunzip_trivial_usage \ 350#define gunzip_trivial_usage \
348 "[OPTION]... FILE" 351 "[OPTION]... FILE"
349#define gunzip_full_usage \ 352#define gunzip_full_usage \