From c6ff8aa083836cb0e36f6f1cc94ac195a955539a Mon Sep 17 00:00:00 2001 From: gdr Date: Fri, 3 Oct 1997 03:51:24 +0000 Subject: [PATCH] trivial changes --- bin/wc/Makefile | 5 ++--- bin/wc/wc.1 | 6 +++++- bin/wc/wc.c | 9 +++------ bin/wc/wc.desc | 5 ++--- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/bin/wc/Makefile b/bin/wc/Makefile index 65a91c5..42c331f 100644 --- a/bin/wc/Makefile +++ b/bin/wc/Makefile @@ -1,11 +1,10 @@ # # This makefile is intended for use with dmake(1) on Apple IIGS +# $Id: Makefile,v 1.3 1997/10/03 03:51:23 gdr Exp $ # # Created by Dave Tribby, July 1997 -# -# $Id: Makefile,v 1.2 1997/09/26 06:27:29 gdr Exp $ # Program name PROG= wc -.INCLUDE: /src/gno/prog.mk +.INCLUDE : /src/gno/prog.mk diff --git a/bin/wc/wc.1 b/bin/wc/wc.1 index d4fddee..ff6e856 100644 --- a/bin/wc/wc.1 +++ b/bin/wc/wc.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)wc.1 8.2 (Berkeley) 4/19/94 -.\" $Id: wc.1,v 1.1 1997/09/17 06:31:05 gdr Exp $ +.\" $Id: wc.1,v 1.2 1997/10/03 03:51:24 gdr Exp $ .\" .TH WC 1 "August 1997" "GNO" "Commands and Applications" .SH NAME @@ -83,6 +83,10 @@ file name is displayed. The .BR wc utility exits 0 on success, and >0 if an error occurs. +.SH VERSION +This manual page documents +.BR wc +version 2.0. .SH ATTRIBUTIONS This command was ported from FreeBSD source code for distribution with GNO/ME 2.0.6. diff --git a/bin/wc/wc.c b/bin/wc/wc.c index 647238c..e5bfa62 100644 --- a/bin/wc/wc.c +++ b/bin/wc/wc.c @@ -39,8 +39,6 @@ * Changes not related to compiler are replaced using #ifndef __GNO__ * * Added prototyped headers, surrounded by #ifndef __STDC__ - * - * $Id: wc.c,v 1.2 1997/09/26 06:27:59 gdr Exp $ */ @@ -56,7 +54,7 @@ static const char copyright[] = static const char sccsid[] = "@(#)wc.c 8.1 (Berkeley) 6/6/93"; #else static const char rcsid[] = - "$Id: wc.c,v 1.2 1997/09/26 06:27:59 gdr Exp $"; + "$Id: wc.c,v 1.3 1997/10/03 03:51:24 gdr Exp $"; #endif #endif /* not lint */ #endif @@ -85,10 +83,9 @@ void usage __P((void)); /* Interface to check on how much stack space a C program uses. */ #if defined(__GNO__) && defined(__STACK_CHECK__) -#ifndef _STDLIB_H_ -#include -#endif +#ifndef _GNO_GNO_H_ #include +#endif static void report_stack(void) { fprintf(stderr,"\n ==> %d stack bytes used <== \n", _endStackCheck()); diff --git a/bin/wc/wc.desc b/bin/wc/wc.desc index 687650a..105592e 100644 --- a/bin/wc/wc.desc +++ b/bin/wc/wc.desc @@ -3,8 +3,7 @@ Version: 2.0 (August 1997) Shell: GNO Author: Dave Tribby (from FreeBSD code) Contact: tribby@cup.hp.com -Where: /bin/wc +Where: /bin/ FTP: ground.isca.uiowa.edu apple2.caltech.edu trenco.myrias.com - Prints word, line, and byte counts for files. - + Count words, lines, and bytes in files.