tr: add forgotten //config: prefixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-06-05 21:29:41 +02:00
parent da929a95aa
commit 729ce47360

View File

@ -27,25 +27,25 @@
//config: help //config: help
//config: tr is used to squeeze, and/or delete characters from standard //config: tr is used to squeeze, and/or delete characters from standard
//config: input, writing to standard output. //config: input, writing to standard output.
//config:
config FEATURE_TR_CLASSES //config:config FEATURE_TR_CLASSES
bool "Enable character classes (such as [:upper:])" //config: bool "Enable character classes (such as [:upper:])"
default n //config: default n
depends on TR //config: depends on TR
help //config: help
Enable character classes, enabling commands such as: //config: Enable character classes, enabling commands such as:
tr [:upper:] [:lower:] to convert input into lowercase. //config: tr [:upper:] [:lower:] to convert input into lowercase.
//config:
config FEATURE_TR_EQUIV //config:config FEATURE_TR_EQUIV
bool "Enable equivalence classes" //config: bool "Enable equivalence classes"
default n //config: default n
depends on TR //config: depends on TR
help //config: help
Enable equivalence classes, which essentially add the enclosed //config: Enable equivalence classes, which essentially add the enclosed
character to the current set. For instance, tr [=a=] xyz would //config: character to the current set. For instance, tr [=a=] xyz would
replace all instances of 'a' with 'xyz'. This option is mainly //config: replace all instances of 'a' with 'xyz'. This option is mainly
useful for cases when no other way of expressing a character //config: useful for cases when no other way of expressing a character
is possible. //config: is possible.
#include "libbb.h" #include "libbb.h"