disable length applet. ${#var} and echo -n "$var" | wc -c are portable equivalents

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko committed 2011-01-26 01:21:20 +01:00
1 parent f18a82d9b3
commit ea023eacad
7 files changed
+7 -10

No files matched your search

+5 -5
View File
@@ -295,11 +295,11 @@ config FEATURE_INSTALL_LONG_OPTIONS
help
Support long options for the install applet.
config LENGTH
bool "length"
default y
help
length is used to print out the length of a specified string.
####config LENGTH
#### bool "length"
#### default y
#### help
#### length is used to print out the length of a specified string.
config LN
bool "ln"
+1 -1
View File
@@ -39,7 +39,7 @@ lib-$(CONFIG_HEAD) += head.o
lib-$(CONFIG_HOSTID) += hostid.o
lib-$(CONFIG_ID) += id.o
lib-$(CONFIG_INSTALL) += install.o
lib-$(CONFIG_LENGTH) += length.o
#lib-$(CONFIG_LENGTH) += length.o
lib-$(CONFIG_LN) += ln.o
lib-$(CONFIG_LOGNAME) += logname.o
lib-$(CONFIG_LS) += ls.o
File renamed without changes.