diff options
author | Juli Mallett <jmallett@FreeBSD.org> | 2002-04-19 17:26:21 +0000 |
---|---|---|
committer | Juli Mallett <jmallett@FreeBSD.org> | 2002-04-19 17:26:21 +0000 |
commit | acc9d4083840bce63fb8b3ff7ee8195d8f67d49e (patch) | |
tree | e50607d075b4fa99ab7d040c1f22f13cfc865fff /usr.bin/m4/m4.1 | |
parent | 29fc00b3fb827a8962ad1b28c740c4bb6ce11e07 (diff) | |
download | src-acc9d4083840bce63fb8b3ff7ee8195d8f67d49e.tar.gz src-acc9d4083840bce63fb8b3ff7ee8195d8f67d49e.zip |
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
Notes
Notes:
svn path=/head/; revision=95060
Diffstat (limited to 'usr.bin/m4/m4.1')
-rw-r--r-- | usr.bin/m4/m4.1 | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/usr.bin/m4/m4.1 b/usr.bin/m4/m4.1 index ffe8f2d9e5d6..0ba26f8eb836 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 , |