diff --git a/usr.bin/basename/basename.c b/usr.bin/basename/basename.c index b36919067548..4925b274edc0 100644 --- a/usr.bin/basename/basename.c +++ b/usr.bin/basename/basename.c @@ -38,12 +38,13 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)basename.c 8.3 (Berkeley) 4/2/94"; +static char sccsid[] = "@(#)basename.c 8.4 (Berkeley) 5/4/95"; #endif /* not lint */ #include #include #include +#include void usage __P((void)); diff --git a/usr.bin/colrm/colrm.c b/usr.bin/colrm/colrm.c index a7c7a65e125d..06f6232a3c1f 100644 --- a/usr.bin/colrm/colrm.c +++ b/usr.bin/colrm/colrm.c @@ -38,7 +38,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)colrm.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)colrm.c 8.2 (Berkeley) 5/4/95"; #endif /* not lint */ #include @@ -47,6 +47,7 @@ static char sccsid[] = "@(#)colrm.c 8.1 (Berkeley) 6/6/93"; #include #include #include +#include #define TAB 8 diff --git a/usr.bin/column/column.c b/usr.bin/column/column.c index d3f71c55b686..5dbab1cb070a 100644 --- a/usr.bin/column/column.c +++ b/usr.bin/column/column.c @@ -38,7 +38,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)column.c 8.3 (Berkeley) 4/2/94"; +static char sccsid[] = "@(#)column.c 8.4 (Berkeley) 5/4/95"; #endif /* not lint */ #include @@ -50,6 +50,7 @@ static char sccsid[] = "@(#)column.c 8.3 (Berkeley) 4/2/94"; #include #include #include +#include void c_columnate __P((void)); void *emalloc __P((int)); diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c index 8ffbbb5dafa6..82f995fc76e2 100644 --- a/usr.bin/comm/comm.c +++ b/usr.bin/comm/comm.c @@ -41,7 +41,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)comm.c 8.3 (Berkeley) 4/2/94"; +static char sccsid[] = "@(#)comm.c 8.4 (Berkeley) 5/4/95"; #endif /* not lint */ #include @@ -50,6 +50,7 @@ static char sccsid[] = "@(#)comm.c 8.3 (Berkeley) 4/2/94"; #include #include #include +#include #define MAXLINELEN (LINE_MAX + 1) diff --git a/usr.bin/finger/extern.h b/usr.bin/finger/extern.h index 2b675f1c7a70..b213fe4a7f12 100644 --- a/usr.bin/finger/extern.h +++ b/usr.bin/finger/extern.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)extern.h 8.1 (Berkeley) 6/6/93 + * @(#)extern.h 8.2 (Berkeley) 4/28/95 */ extern char tbuf[1024]; /* Temp buffer for anybody. */ @@ -40,7 +40,6 @@ extern DB *db; /* Database. */ void enter_lastlog __P((PERSON *)); PERSON *enter_person __P((struct passwd *)); void enter_where __P((struct utmp *, PERSON *)); -void err __P((const char *, ...)); PERSON *find_person __P((char *)); void lflag_print __P((void)); int match __P((struct passwd *, char *)); diff --git a/usr.bin/join/join.1 b/usr.bin/join/join.1 index fa383c6a264a..a1855cf00d37 100644 --- a/usr.bin/join/join.1 +++ b/usr.bin/join/join.1 @@ -32,9 +32,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" @(#)join.1 8.1 (Berkeley) 6/6/93 +.\" @(#)join.1 8.3 (Berkeley) 4/28/95 .\" -.Dd June 6, 1993 +.Dd April 28, 1995 .Dt JOIN 1 .Os .Sh NAME @@ -84,6 +84,11 @@ The following options are available: In addition to the default output, produce a line for each unpairable line in file .Ar file_number . +(The argument to +.Fl a +must not be preceded by a space; see the +.Sx COMPATIBILITY +section.) .It Fl e Ar string Replace empty output fields with .Ar string . @@ -165,6 +170,10 @@ the following options are available: .It Fl a In addition to the default output, produce a line for each unpairable line in both file 1 and file 2. +(To distinguish between this and +.Fl a Ar file_number , +.Nm join +currently requires that the latter not include any white space.) .It Fl j1 Ar field Join on the .Ar field Ns 'th diff --git a/usr.bin/printenv/printenv.c b/usr.bin/printenv/printenv.c index 121cd2f11ada..fc40e3d32444 100644 --- a/usr.bin/printenv/printenv.c +++ b/usr.bin/printenv/printenv.c @@ -38,7 +38,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)printenv.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)printenv.c 8.2 (Berkeley) 5/4/95"; #endif /* not lint */ #include @@ -46,6 +46,7 @@ static char sccsid[] = "@(#)printenv.c 8.1 (Berkeley) 6/6/93"; #include #include #include +#include void usage __P((void)); diff --git a/usr.bin/rev/rev.c b/usr.bin/rev/rev.c index fe959910ae19..2fe272e94d88 100644 --- a/usr.bin/rev/rev.c +++ b/usr.bin/rev/rev.c @@ -38,7 +38,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)rev.c 8.2 (Berkeley) 1/2/94"; +static char sccsid[] = "@(#)rev.c 8.3 (Berkeley) 5/4/95"; #endif /* not lint */ #include @@ -48,6 +48,7 @@ static char sccsid[] = "@(#)rev.c 8.2 (Berkeley) 1/2/94"; #include #include #include +#include void usage __P((void)); diff --git a/usr.bin/uname/uname.c b/usr.bin/uname/uname.c index 2ee15477fb43..86b5dcea4de7 100644 --- a/usr.bin/uname/uname.c +++ b/usr.bin/uname/uname.c @@ -38,7 +38,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)uname.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)uname.c 8.2 (Berkeley) 5/4/95"; #endif /* not lint */ #include @@ -47,6 +47,7 @@ static char sccsid[] = "@(#)uname.c 8.1 (Berkeley) 6/6/93"; #include #include #include +#include void usage __P((void)); diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index e84f82ec13eb..b2b85e108611 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -41,7 +41,7 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)uniq.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)uniq.c 8.3 (Berkeley) 5/4/95"; #endif /* not lint */ #include @@ -49,6 +49,7 @@ static char sccsid[] = "@(#)uniq.c 8.1 (Berkeley) 6/6/93"; #include #include #include +#include #define MAXLINELEN (8 * 1024) @@ -171,7 +172,8 @@ show(ofp, str) FILE *ofp; char *str; { - if (cflag) + + if (cflag && *str) (void)fprintf(ofp, "%4d %s", repeats + 1, str); if (dflag && repeats || uflag && !repeats) (void)fprintf(ofp, "%s", str);