aboutsummaryrefslogtreecommitdiff
path: root/tr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tr.c')
-rw-r--r--tr.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tr.c b/tr.c
index 3bfa48080..b631b0065 100644
--- a/tr.c
+++ b/tr.c
@@ -44,7 +44,7 @@ static char sccsid[] = "@(#)tr.c 8.2 (Berkeley) 5/4/95";
44#endif 44#endif
45static const char rcsid[] = 45static 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
139static void tr_usage() 139static 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