aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-04-17 16:44:46 +0000
committerErik Andersen <andersen@codepoet.org>2000-04-17 16:44:46 +0000
commit26702fe1919ed4d01649acc81c2d42545004cbfd (patch)
treecc972f2719033cdcd53d24db2ba3ce5e43714bb2
parente5b6c7dd9cb32852a7f5b19a9855cf3c32543396 (diff)
downloadbusybox-w32-26702fe1919ed4d01649acc81c2d42545004cbfd.tar.gz
busybox-w32-26702fe1919ed4d01649acc81c2d42545004cbfd.tar.bz2
busybox-w32-26702fe1919ed4d01649acc81c2d42545004cbfd.zip
Bugfixes.
-Erik
-rw-r--r--Makefile6
-rw-r--r--coreutils/tr.c7
-rw-r--r--docs/busybox.pod15
-rw-r--r--tr.c7
4 files changed, 13 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 77a0486e9..475a6e6fb 100644
--- a/Makefile
+++ b/Makefile
@@ -101,13 +101,13 @@ all: busybox busybox.links docs
101busybox: $(OBJECTS) 101busybox: $(OBJECTS)
102 $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) 102 $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES)
103 $(STRIP) 103 $(STRIP)
104
105docs: docs/busybox.pod
106 $(MAKE) -C docs clean all
104 107
105busybox.links: busybox.def.h 108busybox.links: busybox.def.h
106 - ./busybox.mkll | sort >$@ 109 - ./busybox.mkll | sort >$@
107 110
108docs: docs/busybox.pod
109 $(MAKE) -C docs clean all
110
111regexp.o nfsmount.o: %.o: %.h 111regexp.o nfsmount.o: %.o: %.h
112$(OBJECTS): %.o: busybox.def.h internal.h %.c 112$(OBJECTS): %.o: busybox.def.h internal.h %.c
113 113
diff --git a/coreutils/tr.c b/coreutils/tr.c
index b631b0065..5f4938028 100644
--- a/coreutils/tr.c
+++ b/coreutils/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.3 2000/04/15 16:34:54 erik Exp $"; 47 "$Id: tr.c,v 1.4 2000/04/17 16:44:46 erik Exp $";
48#endif /* not lint */ 48#endif /* not lint */
49#endif /* #if 0 */ 49#endif /* #if 0 */
50 50
@@ -138,10 +138,7 @@ int cflag;
138 138
139static void tr_usage() 139static void tr_usage()
140{ 140{
141 usage( "\ttr [-csu] string1 string2\n" 141 usage( "\ttr [-cdsu] string1 [string2]\n\n"
142 "\ttr [-cu] -d string1\n"
143 "\ttr [-cu] -s string1\n"
144 "\ttr [-cu] -ds string1 string2\n\n"
145 "Translate, squeeze, and/or delete characters from standard\n" 142 "Translate, squeeze, and/or delete characters from standard\n"
146 "input, writing to standard output.\n"); 143 "input, writing to standard output.\n");
147} 144}
diff --git a/docs/busybox.pod b/docs/busybox.pod
index 9926cffd2..3a1a6569a 100644
--- a/docs/busybox.pod
+++ b/docs/busybox.pod
@@ -86,11 +86,11 @@ Example:
86Usage: chgrp [OPTION]... GROUP FILE... 86Usage: chgrp [OPTION]... GROUP FILE...
87 87
88Change the group membership of each FILE to GROUP. 88Change the group membership of each FILE to GROUP.
89 89
90Options: 90Options:
91 91
92 -R change files and directories recursively 92 -R change files and directories recursively
93 93
94Example: 94Example:
95 95
96 $ ls -l /tmp/foo 96 $ ls -l /tmp/foo
@@ -1532,10 +1532,7 @@ Example:
1532 1532
1533=item tr 1533=item tr
1534 1534
1535Usage: tr [-csu] string1 string2 1535Usage: tr [B<-cdsu>] string1 [string2]
1536 tr [-cu] -d string1
1537 tr [-cu] -s string1
1538 tr [-cu] -ds string1 string2
1539 1536
1540Translate, squeeze, and/or delete characters from standard 1537Translate, squeeze, and/or delete characters from standard
1541input, writing to standard output. 1538input, writing to standard output.
@@ -1596,7 +1593,7 @@ Example:
1596 1593
1597Usage: uname [OPTION]... 1594Usage: uname [OPTION]...
1598 1595
1599Print certain system information. With no OPTION, same as -s. 1596Print certain system information. With no OPTION, same as B<-s>.
1600 1597
1601Options: 1598Options:
1602 1599
@@ -1715,7 +1712,7 @@ Repeatedly outputs a line with all specified STRING(s), or `y'.
1715 1712
1716=item zcat 1713=item zcat
1717 1714
1718This is essentially an alias for invoking "gunzip -c", where 1715This is essentially an alias for invoking "gunzip B<-c>", where
1719it decompresses the file inquestion and send the output to stdout. 1716it decompresses the file inquestion and send the output to stdout.
1720 1717
1721------------------------------- 1718-------------------------------
@@ -1781,4 +1778,4 @@ Enrique Zanardi <ezanardi@ull.es>
1781 1778
1782=cut 1779=cut
1783 1780
1784# $Id: busybox.pod,v 1.13 2000/04/17 16:16:10 erik Exp $ 1781# $Id: busybox.pod,v 1.14 2000/04/17 16:44:46 erik Exp $
diff --git a/tr.c b/tr.c
index b631b0065..5f4938028 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.3 2000/04/15 16:34:54 erik Exp $"; 47 "$Id: tr.c,v 1.4 2000/04/17 16:44:46 erik Exp $";
48#endif /* not lint */ 48#endif /* not lint */
49#endif /* #if 0 */ 49#endif /* #if 0 */
50 50
@@ -138,10 +138,7 @@ int cflag;
138 138
139static void tr_usage() 139static void tr_usage()
140{ 140{
141 usage( "\ttr [-csu] string1 string2\n" 141 usage( "\ttr [-cdsu] string1 [string2]\n\n"
142 "\ttr [-cu] -d string1\n"
143 "\ttr [-cu] -s string1\n"
144 "\ttr [-cu] -ds string1 string2\n\n"
145 "Translate, squeeze, and/or delete characters from standard\n" 142 "Translate, squeeze, and/or delete characters from standard\n"
146 "input, writing to standard output.\n"); 143 "input, writing to standard output.\n");
147} 144}