trivial changes

This commit is contained in:
gdr 1997-10-03 03:51:24 +00:00
parent 9fed90450c
commit c6ff8aa083
4 changed files with 12 additions and 13 deletions

View File

@ -1,9 +1,8 @@
#
# 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

View File

@ -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.

View File

@ -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 <stdlib.h>
#endif
#ifndef _GNO_GNO_H_
#include <gno/gno.h>
#endif
static void report_stack(void)
{
fprintf(stderr,"\n ==> %d stack bytes used <== \n", _endStackCheck());

View File

@ -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/<prog>
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.