diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 18:31:48 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 18:31:48 +0100 |
| commit | 15fb91cefb22d64952f34fe246fc8f257172af63 (patch) | |
| tree | b26c3168f2ea5e185eee1041c6f521855398783a /include | |
| parent | 73f743a381dc389287d2d0e56a2b7988f67c0bfc (diff) | |
| download | busybox-w32-15fb91cefb22d64952f34fe246fc8f257172af63.tar.gz busybox-w32-15fb91cefb22d64952f34fe246fc8f257172af63.tar.bz2 busybox-w32-15fb91cefb22d64952f34fe246fc8f257172af63.zip | |
test: make [ and [[ forms individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
| -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 6b8046c4b..bab4e0d72 100755 --- a/include/applets.h.sh +++ b/include/applets.h.sh | |||
| @@ -5,13 +5,17 @@ | |||
| 5 | 5 | ||
| 6 | # CONFIG_applet names | 6 | # CONFIG_applet names |
| 7 | grep ^IF_ applets.h | grep -v IF_FEATURE_ | sed 's/IF_\([A-Z0-9._-]*\)(.*/\1/' \ | 7 | grep ^IF_ applets.h | grep -v IF_FEATURE_ | sed 's/IF_\([A-Z0-9._-]*\)(.*/\1/' \ |
| 8 | | grep -v MODPROBE_SMALL | sed 's/BB_SYSCTL/SYSCTL/' \ | 8 | | grep -v MODPROBE_SMALL \ |
| 9 | | sed 's/BB_SYSCTL/SYSCTL/' \ | ||
| 10 | | sed 's/TEST1/[/' \ | ||
| 11 | | sed 's/TEST2/[[/' \ | ||
| 9 | | sort | uniq \ | 12 | | sort | uniq \ |
| 10 | >applets_APP1 | 13 | >applets_APP1 |
| 11 | 14 | ||
| 12 | # command line applet names | 15 | # command line applet names |
| 13 | grep ^IF_ applets.h | sed -e's/ //g' -e's/.*(\([a-z[][^,]*\),.*/\1/' \ | 16 | grep ^IF_ applets.h | sed -e's/ //g' -e's/.*(\([a-z[][^,]*\),.*/\1/' \ |
| 14 | | grep -v '^bash$' | grep -v '^sh$' \ | 17 | | grep -v '^bash$' \ |
| 18 | | grep -v '^sh$' \ | ||
| 15 | | tr a-z A-Z \ | 19 | | tr a-z A-Z \ |
| 16 | | sort | uniq \ | 20 | | sort | uniq \ |
| 17 | >applets_APP2 | 21 | >applets_APP2 |
