diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /coreutils/tr.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'coreutils/tr.c')
-rw-r--r-- | coreutils/tr.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c index 5b2b9a9a4..2f14a414f 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c | |||
@@ -47,6 +47,19 @@ | |||
47 | //config: useful for cases when no other way of expressing a character | 47 | //config: useful for cases when no other way of expressing a character |
48 | //config: is possible. | 48 | //config: is possible. |
49 | 49 | ||
50 | //usage:#define tr_trivial_usage | ||
51 | //usage: "[-cds] STRING1 [STRING2]" | ||
52 | //usage:#define tr_full_usage "\n\n" | ||
53 | //usage: "Translate, squeeze, or delete characters from stdin, writing to stdout\n" | ||
54 | //usage: "\nOptions:" | ||
55 | //usage: "\n -c Take complement of STRING1" | ||
56 | //usage: "\n -d Delete input characters coded STRING1" | ||
57 | //usage: "\n -s Squeeze multiple output characters of STRING2 into one character" | ||
58 | //usage: | ||
59 | //usage:#define tr_example_usage | ||
60 | //usage: "$ echo \"gdkkn vnqkc\" | tr [a-y] [b-z]\n" | ||
61 | //usage: "hello world\n" | ||
62 | |||
50 | #include "libbb.h" | 63 | #include "libbb.h" |
51 | 64 | ||
52 | enum { | 65 | enum { |