summaryrefslogtreecommitdiffstats
path: root/bin/cat
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-13 07:16:37 +0000
committercharnier <charnier@FreeBSD.org>1998-05-13 07:16:37 +0000
commit6a2297e2da1f325214e5c9810ee428604e322bdc (patch)
tree1e770d6c1ae46738d0cf9f04ff745d568a5039a4 /bin/cat
parentd6619f7b2b75bcaa7167ab2cf8c55bcb33998245 (diff)
downloadFreeBSD-src-6a2297e2da1f325214e5c9810ee428604e322bdc.zip
FreeBSD-src-6a2297e2da1f325214e5c9810ee428604e322bdc.tar.gz
Restore Lite2 sccsids by removing `const'. Improve documentation a little.
Suggested by: Bruce
Diffstat (limited to 'bin/cat')
-rw-r--r--bin/cat/cat.122
-rw-r--r--bin/cat/cat.c4
2 files changed, 11 insertions, 15 deletions
diff --git a/bin/cat/cat.1 b/bin/cat/cat.1
index 57bfa4e..351ed8f 100644
--- a/bin/cat/cat.1
+++ b/bin/cat/cat.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)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
.Dt CAT 1
@@ -56,29 +56,25 @@ operands are processed in command line order.
A single dash represents the standard input.
.Pp
The options are as follows:
-.Bl -tag -width Ds
+.Bl -tag -width indent
.It Fl b
-Imply the
-.Fl n
-option but doesn't number blank lines.
+Number the non-blank output lines, starting at 1.
.It Fl e
-Imply the
+Display non-printing characters (see the
.Fl v
-option, and displays a dollar sign
+option), and display a dollar sign
.Pq Ql \&$
-at the end of each line
-as well.
+at the end of each line.
.It Fl n
Number the output lines, starting at 1.
.It Fl s
Squeeze multiple adjacent empty lines, causing the output to be
single spaced.
.It Fl t
-Imply the
+Display non-printing characters (see the
.Fl v
-option, and displays tab characters as
-.Ql ^I
-as well.
+option), and display tab characters as
+.Ql ^I .
.It Fl u
The
.Fl u
diff --git a/bin/cat/cat.c b/bin/cat/cat.c
index 095f5a6..81f611f 100644
--- a/bin/cat/cat.c
+++ b/bin/cat/cat.c
@@ -42,10 +42,10 @@ static char const copyright[] =
#ifndef lint
#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
static const char rcsid[] =
- "$Id$";
+ "$Id: cat.c,v 1.10 1998/05/06 06:49:16 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
OpenPOWER on IntegriCloud