diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-04-17 16:44:46 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-04-17 16:44:46 +0000 |
commit | 26702fe1919ed4d01649acc81c2d42545004cbfd (patch) | |
tree | cc972f2719033cdcd53d24db2ba3ce5e43714bb2 | |
parent | e5b6c7dd9cb32852a7f5b19a9855cf3c32543396 (diff) | |
download | busybox-w32-26702fe1919ed4d01649acc81c2d42545004cbfd.tar.gz busybox-w32-26702fe1919ed4d01649acc81c2d42545004cbfd.tar.bz2 busybox-w32-26702fe1919ed4d01649acc81c2d42545004cbfd.zip |
Bugfixes.
-Erik
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | coreutils/tr.c | 7 | ||||
-rw-r--r-- | docs/busybox.pod | 15 | ||||
-rw-r--r-- | tr.c | 7 |
4 files changed, 13 insertions, 22 deletions
@@ -101,13 +101,13 @@ all: busybox busybox.links docs | |||
101 | busybox: $(OBJECTS) | 101 | busybox: $(OBJECTS) |
102 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) | 102 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) |
103 | $(STRIP) | 103 | $(STRIP) |
104 | |||
105 | docs: docs/busybox.pod | ||
106 | $(MAKE) -C docs clean all | ||
104 | 107 | ||
105 | busybox.links: busybox.def.h | 108 | busybox.links: busybox.def.h |
106 | - ./busybox.mkll | sort >$@ | 109 | - ./busybox.mkll | sort >$@ |
107 | 110 | ||
108 | docs: docs/busybox.pod | ||
109 | $(MAKE) -C docs clean all | ||
110 | |||
111 | regexp.o nfsmount.o: %.o: %.h | 111 | regexp.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 |
45 | static const char rcsid[] = | 45 | static 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 | ||
139 | static void tr_usage() | 139 | static 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: | |||
86 | Usage: chgrp [OPTION]... GROUP FILE... | 86 | Usage: chgrp [OPTION]... GROUP FILE... |
87 | 87 | ||
88 | Change the group membership of each FILE to GROUP. | 88 | Change the group membership of each FILE to GROUP. |
89 | 89 | ||
90 | Options: | 90 | Options: |
91 | 91 | ||
92 | -R change files and directories recursively | 92 | -R change files and directories recursively |
93 | 93 | ||
94 | Example: | 94 | Example: |
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 | ||
1535 | Usage: tr [-csu] string1 string2 | 1535 | Usage: tr [B<-cdsu>] string1 [string2] |
1536 | tr [-cu] -d string1 | ||
1537 | tr [-cu] -s string1 | ||
1538 | tr [-cu] -ds string1 string2 | ||
1539 | 1536 | ||
1540 | Translate, squeeze, and/or delete characters from standard | 1537 | Translate, squeeze, and/or delete characters from standard |
1541 | input, writing to standard output. | 1538 | input, writing to standard output. |
@@ -1596,7 +1593,7 @@ Example: | |||
1596 | 1593 | ||
1597 | Usage: uname [OPTION]... | 1594 | Usage: uname [OPTION]... |
1598 | 1595 | ||
1599 | Print certain system information. With no OPTION, same as -s. | 1596 | Print certain system information. With no OPTION, same as B<-s>. |
1600 | 1597 | ||
1601 | Options: | 1598 | Options: |
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 | ||
1718 | This is essentially an alias for invoking "gunzip -c", where | 1715 | This is essentially an alias for invoking "gunzip B<-c>", where |
1719 | it decompresses the file inquestion and send the output to stdout. | 1716 | it 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 $ |
@@ -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.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 | ||
139 | static void tr_usage() | 139 | static 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 | } |