Restore Lite2 sccsids by removing `const'. Improve documentation a little.

Suggested by:	Bruce
This commit is contained in:
Philippe Charnier 1998-05-13 07:16:37 +00:00
parent ef1c4c53f4
commit 12f93eb9b1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36000
2 changed files with 11 additions and 15 deletions

View File

@ -33,7 +33,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)cat.1 8.3 (Berkeley) 5/2/95 .\" @(#)cat.1 8.3 (Berkeley) 5/2/95
.\" $Id: cat.1,v 1.6 1997/02/22 14:01:26 peter Exp $ .\" $Id: cat.1,v 1.7 1998/05/06 06:49:13 charnier Exp $
.\" .\"
.Dd May 2, 1995 .Dd May 2, 1995
.Dt CAT 1 .Dt CAT 1
@ -56,29 +56,25 @@ operands are processed in command line order.
A single dash represents the standard input. A single dash represents the standard input.
.Pp .Pp
The options are as follows: The options are as follows:
.Bl -tag -width Ds .Bl -tag -width indent
.It Fl b .It Fl b
Imply the Number the non-blank output lines, starting at 1.
.Fl n
option but doesn't number blank lines.
.It Fl e .It Fl e
Imply the Display non-printing characters (see the
.Fl v .Fl v
option, and displays a dollar sign option), and display a dollar sign
.Pq Ql \&$ .Pq Ql \&$
at the end of each line at the end of each line.
as well.
.It Fl n .It Fl n
Number the output lines, starting at 1. Number the output lines, starting at 1.
.It Fl s .It Fl s
Squeeze multiple adjacent empty lines, causing the output to be Squeeze multiple adjacent empty lines, causing the output to be
single spaced. single spaced.
.It Fl t .It Fl t
Imply the Display non-printing characters (see the
.Fl v .Fl v
option, and displays tab characters as option), and display tab characters as
.Ql ^I .Ql ^I .
as well.
.It Fl u .It Fl u
The The
.Fl u .Fl u

View File

@ -42,10 +42,10 @@ static char const copyright[] =
#ifndef lint #ifndef lint
#if 0 #if 0
static char const sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95"; static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
#endif #endif
static const char rcsid[] = static const char rcsid[] =
"$Id$"; "$Id: cat.c,v 1.10 1998/05/06 06:49:16 charnier Exp $";
#endif /* not lint */ #endif /* not lint */
#include <sys/param.h> #include <sys/param.h>