diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-04-15 16:34:54 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-04-15 16:34:54 +0000 |
commit | a6c674b94b4d2c6732a58760d9086657d884671b (patch) | |
tree | 140cd30d77342c730afbc1df863bec93c63978a8 /tr.c | |
parent | c8ca3c6625e1a3f234c3f0a1ab3142179a3e529f (diff) | |
download | busybox-w32-a6c674b94b4d2c6732a58760d9086657d884671b.tar.gz busybox-w32-a6c674b94b4d2c6732a58760d9086657d884671b.tar.bz2 busybox-w32-a6c674b94b4d2c6732a58760d9086657d884671b.zip |
More documentation updates, and minor fixes to make things sync
up with the docs.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@457 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tr.c')
-rw-r--r-- | tr.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -44,7 +44,7 @@ static char sccsid[] = "@(#)tr.c 8.2 (Berkeley) 5/4/95"; | |||
44 | #endif | 44 | #endif |
45 | static const char rcsid[] = | 45 | static const char rcsid[] = |
46 | 46 | ||
47 | "$Id: tr.c,v 1.2 2000/03/21 22:32:57 erik Exp $"; | 47 | "$Id: tr.c,v 1.3 2000/04/15 16:34:54 erik Exp $"; |
48 | #endif /* not lint */ | 48 | #endif /* not lint */ |
49 | #endif /* #if 0 */ | 49 | #endif /* #if 0 */ |
50 | 50 | ||
@@ -138,12 +138,12 @@ int cflag; | |||
138 | 138 | ||
139 | static void tr_usage() | 139 | static void tr_usage() |
140 | { | 140 | { |
141 | (void) fprintf(stderr, "%s\n%s\n%s\n%s\n", | 141 | usage( "\ttr [-csu] string1 string2\n" |
142 | "usage: tr [-csu] string1 string2", | 142 | "\ttr [-cu] -d string1\n" |
143 | " tr [-cu] -d string1", | 143 | "\ttr [-cu] -s string1\n" |
144 | " tr [-cu] -s string1", | 144 | "\ttr [-cu] -ds string1 string2\n\n" |
145 | " tr [-cu] -ds string1 string2"); | 145 | "Translate, squeeze, and/or delete characters from standard\n" |
146 | exit(1); | 146 | "input, writing to standard output.\n"); |
147 | } | 147 | } |
148 | 148 | ||
149 | 149 | ||