diff options
author | Denys Vlasenko | 2016-11-23 18:31:48 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-11-23 18:31:48 +0100 |
commit | 15fb91cefb22d64952f34fe246fc8f257172af63 (patch) | |
tree | b26c3168f2ea5e185eee1041c6f521855398783a /include/applets.h.sh | |
parent | 73f743a381dc389287d2d0e56a2b7988f67c0bfc (diff) | |
download | busybox-15fb91cefb22d64952f34fe246fc8f257172af63.zip busybox-15fb91cefb22d64952f34fe246fc8f257172af63.tar.gz |
test: make [ and [[ forms individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/applets.h.sh')
-rwxr-xr-x | include/applets.h.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/applets.h.sh b/include/applets.h.sh index 6b8046c..bab4e0d 100755 --- a/include/applets.h.sh +++ b/include/applets.h.sh @@ -5,13 +5,17 @@ # CONFIG_applet names grep ^IF_ applets.h | grep -v IF_FEATURE_ | sed 's/IF_\([A-Z0-9._-]*\)(.*/\1/' \ -| grep -v MODPROBE_SMALL | sed 's/BB_SYSCTL/SYSCTL/' \ +| grep -v MODPROBE_SMALL \ +| sed 's/BB_SYSCTL/SYSCTL/' \ +| sed 's/TEST1/[/' \ +| sed 's/TEST2/[[/' \ | sort | uniq \ >applets_APP1 # command line applet names grep ^IF_ applets.h | sed -e's/ //g' -e's/.*(\([a-z[][^,]*\),.*/\1/' \ -| grep -v '^bash$' | grep -v '^sh$' \ +| grep -v '^bash$' \ +| grep -v '^sh$' \ | tr a-z A-Z \ | sort | uniq \ >applets_APP2 |