summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/m4.1
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-04-19 17:26:21 +0000
committerjmallett <jmallett@FreeBSD.org>2002-04-19 17:26:21 +0000
commitb38bbfea3be32adfe5798450f00bbcf0cbed5804 (patch)
treee50607d075b4fa99ab7d040c1f22f13cfc865fff /usr.bin/m4/m4.1
parente0dd7499cbc447a80e58137ec3f5c98184a72d10 (diff)
downloadFreeBSD-src-b38bbfea3be32adfe5798450f00bbcf0cbed5804.zip
FreeBSD-src-b38bbfea3be32adfe5798450f00bbcf0cbed5804.tar.gz
Bring OpenBSD m4(1) off of the OPENBSD vendor branch, and add the -s option,
$FreeBSD$ identifiers, and fix initialisation to stderr to happen in a function as stderr is not the same in CURRENT as in OpenBSD. Reviewed by: obrien
Diffstat (limited to 'usr.bin/m4/m4.1')
-rw-r--r--usr.bin/m4/m4.120
1 files changed, 8 insertions, 12 deletions
diff --git a/usr.bin/m4/m4.1 b/usr.bin/m4/m4.1
index ffe8f2d..0ba26f8 100644
--- a/usr.bin/m4/m4.1
+++ b/usr.bin/m4/m4.1
@@ -1,7 +1,7 @@
.\" @(#) $OpenBSD: m4.1,v 1.24 2002/04/18 18:57:23 espie Exp $
-.\" $FreeBSD$
+.\" $FreeBSD$
.\"
-.Dd January 26, 1993
+.Dd April 17, 2002
.Dt M4 1
.Os
.Sh NAME
@@ -11,7 +11,7 @@
.Nm m4
.Op Fl d Ar flags
.Op Fl t Ar name
-.Op Fl g
+.Op Fl gs
.Oo
.Fl D Ns Ar name Ns Op Ar =value
.Oc
@@ -54,6 +54,11 @@ recognized as special when not followed by an open parenthesis.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl s
+Emit
+.Em #line
+directives for
+.Xr cpp 1 .
.It Fl D Ns Ar name Ns Oo
.Ar =value
.Oc
@@ -332,15 +337,6 @@ Returns the current file's name.
follows the Single Unix 2 specification, along with a few extensions taken
from
.Nm gnu-m4 .
-.Pp
-The
-.Fl s
-option
-.Po
-.Xr cpp 1 's
-#line directives
-.Pc
-is currently not supported.
Flags
.Fl I ,
.Fl d ,
OpenPOWER on IntegriCloud