Bugfixes.

-Erik
This commit is contained in:
Erik Andersen 2000-04-17 16:44:46 +00:00
parent e5b6c7dd9c
commit 26702fe191
4 changed files with 13 additions and 22 deletions

View File

@ -101,13 +101,13 @@ all: busybox busybox.links docs
busybox: $(OBJECTS)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES)
$(STRIP)
docs: docs/busybox.pod
$(MAKE) -C docs clean all
busybox.links: busybox.def.h
- ./busybox.mkll | sort >$@
docs: docs/busybox.pod
$(MAKE) -C docs clean all
regexp.o nfsmount.o: %.o: %.h
$(OBJECTS): %.o: busybox.def.h internal.h %.c

View File

@ -44,7 +44,7 @@ static char sccsid[] = "@(#)tr.c 8.2 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
"$Id: tr.c,v 1.3 2000/04/15 16:34:54 erik Exp $";
"$Id: tr.c,v 1.4 2000/04/17 16:44:46 erik Exp $";
#endif /* not lint */
#endif /* #if 0 */
@ -138,10 +138,7 @@ int cflag;
static void tr_usage()
{
usage( "\ttr [-csu] string1 string2\n"
"\ttr [-cu] -d string1\n"
"\ttr [-cu] -s string1\n"
"\ttr [-cu] -ds string1 string2\n\n"
usage( "\ttr [-cdsu] string1 [string2]\n\n"
"Translate, squeeze, and/or delete characters from standard\n"
"input, writing to standard output.\n");
}

View File

@ -86,11 +86,11 @@ Example:
Usage: chgrp [OPTION]... GROUP FILE...
Change the group membership of each FILE to GROUP.
Options:
-R change files and directories recursively
Example:
$ ls -l /tmp/foo
@ -1532,10 +1532,7 @@ Example:
=item tr
Usage: tr [-csu] string1 string2
tr [-cu] -d string1
tr [-cu] -s string1
tr [-cu] -ds string1 string2
Usage: tr [B<-cdsu>] string1 [string2]
Translate, squeeze, and/or delete characters from standard
input, writing to standard output.
@ -1596,7 +1593,7 @@ Example:
Usage: uname [OPTION]...
Print certain system information. With no OPTION, same as -s.
Print certain system information. With no OPTION, same as B<-s>.
Options:
@ -1715,7 +1712,7 @@ Repeatedly outputs a line with all specified STRING(s), or `y'.
=item zcat
This is essentially an alias for invoking "gunzip -c", where
This is essentially an alias for invoking "gunzip B<-c>", where
it decompresses the file inquestion and send the output to stdout.
-------------------------------
@ -1781,4 +1778,4 @@ Enrique Zanardi <ezanardi@ull.es>
=cut
# $Id: busybox.pod,v 1.13 2000/04/17 16:16:10 erik Exp $
# $Id: busybox.pod,v 1.14 2000/04/17 16:44:46 erik Exp $

7
tr.c
View File

@ -44,7 +44,7 @@ static char sccsid[] = "@(#)tr.c 8.2 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
"$Id: tr.c,v 1.3 2000/04/15 16:34:54 erik Exp $";
"$Id: tr.c,v 1.4 2000/04/17 16:44:46 erik Exp $";
#endif /* not lint */
#endif /* #if 0 */
@ -138,10 +138,7 @@ int cflag;
static void tr_usage()
{
usage( "\ttr [-csu] string1 string2\n"
"\ttr [-cu] -d string1\n"
"\ttr [-cu] -s string1\n"
"\ttr [-cu] -ds string1 string2\n\n"
usage( "\ttr [-cdsu] string1 [string2]\n\n"
"Translate, squeeze, and/or delete characters from standard\n"
"input, writing to standard output.\n");
}