aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-01-26 01:21:20 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-01-26 01:21:20 +0100
commitea023eacad23f6a30cffe4f255a050b91748fc2f (patch)
tree4e4c1f19c75f27cefa52bcf96b7b4f0ff536a3e6 /coreutils
parentf18a82d9b320146e367217aba6664b1efb1be68c (diff)
downloadbusybox-w32-ea023eacad23f6a30cffe4f255a050b91748fc2f.tar.gz
busybox-w32-ea023eacad23f6a30cffe4f255a050b91748fc2f.tar.bz2
busybox-w32-ea023eacad23f6a30cffe4f255a050b91748fc2f.zip
disable length applet. ${#var} and echo -n "$var" | wc -c are portable equivalents
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/Config.src10
-rw-r--r--coreutils/Kbuild.src2
-rw-r--r--coreutils/length.c.disabled (renamed from coreutils/length.c)0
3 files changed, 6 insertions, 6 deletions
diff --git a/coreutils/Config.src b/coreutils/Config.src
index c2fd73e59..1a044f96c 100644
--- a/coreutils/Config.src
+++ b/coreutils/Config.src
@@ -295,11 +295,11 @@ config FEATURE_INSTALL_LONG_OPTIONS
295 help 295 help
296 Support long options for the install applet. 296 Support long options for the install applet.
297 297
298config LENGTH 298####config LENGTH
299 bool "length" 299#### bool "length"
300 default y 300#### default y
301 help 301#### help
302 length is used to print out the length of a specified string. 302#### length is used to print out the length of a specified string.
303 303
304config LN 304config LN
305 bool "ln" 305 bool "ln"
diff --git a/coreutils/Kbuild.src b/coreutils/Kbuild.src
index 4ea0fa50a..6a41c8318 100644
--- a/coreutils/Kbuild.src
+++ b/coreutils/Kbuild.src
@@ -39,7 +39,7 @@ lib-$(CONFIG_HEAD) += head.o
39lib-$(CONFIG_HOSTID) += hostid.o 39lib-$(CONFIG_HOSTID) += hostid.o
40lib-$(CONFIG_ID) += id.o 40lib-$(CONFIG_ID) += id.o
41lib-$(CONFIG_INSTALL) += install.o 41lib-$(CONFIG_INSTALL) += install.o
42lib-$(CONFIG_LENGTH) += length.o 42#lib-$(CONFIG_LENGTH) += length.o
43lib-$(CONFIG_LN) += ln.o 43lib-$(CONFIG_LN) += ln.o
44lib-$(CONFIG_LOGNAME) += logname.o 44lib-$(CONFIG_LOGNAME) += logname.o
45lib-$(CONFIG_LS) += ls.o 45lib-$(CONFIG_LS) += ls.o
diff --git a/coreutils/length.c b/coreutils/length.c.disabled
index 7f0b48ccd..7f0b48ccd 100644
--- a/coreutils/length.c
+++ b/coreutils/length.c.disabled