summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc/yyfix.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/yacc/yyfix.1')
-rw-r--r--usr.bin/yacc/yyfix.116
1 files changed, 9 insertions, 7 deletions
diff --git a/usr.bin/yacc/yyfix.1 b/usr.bin/yacc/yyfix.1
index 7af0a9e..7aad08e 100644
--- a/usr.bin/yacc/yyfix.1
+++ b/usr.bin/yacc/yyfix.1
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)yyfix.1 5.4 (Berkeley) 3/23/93
+.\" $Id$
.\"
.Dd March 23, 1993
.Dt YYFIX 1
@@ -38,12 +39,13 @@
.Nm yyfix
.Nd extract tables from y.tab.c
.Sh SYNOPSIS
-.Nm yyfix
+.Nm
.Ar file
.Op Ar tables
.Sh DESCRIPTION
-Programs have historically used a script (often named ``:yyfix'') to
-extract tables from the
+Programs have historically used a script (often named
+.Dq :yyfix )
+to extract tables from the
.Xr yacc 1
generated file
.Pa y.tab.c .
@@ -52,17 +54,17 @@ As the names of the tables generated by the current version of
are different from those of historical versions of
.Xr yacc ,
the shell script
-.Nm yyfix
+.Nm
is provided to simplify the transition.
.Pp
The first (and required) argument to
-.Nm yyfix
+.Nm
is the name of the file where the extracted tables should be stored.
.Pp
If further command line arguments are specified, they are taken as
the list of tables to be extracted.
Otherwise,
-.Nm yyfix
+.Nm
attempts to determine if the
.Pa y.tab.c
file is from an old or new
@@ -108,5 +110,5 @@ File from which tables are extracted.
.Sh HISTORY
The
.Nm
-command appears in
+command appeared in
.Bx 4.4 .
OpenPOWER on IntegriCloud