diff options
author | mpp <mpp@FreeBSD.org> | 1996-02-12 19:25:18 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-02-12 19:25:18 +0000 |
commit | 534b61c9d531f0c78678a501f1f476c6cc42bfc2 (patch) | |
tree | 9c5c7ef90c6eecdbfaec5eafb0fba8ae2cdb7dc7 /gnu | |
parent | e3405759c19964c4336ca1a3dc3b4626cfefbd24 (diff) | |
download | FreeBSD-src-534b61c9d531f0c78678a501f1f476c6cc42bfc2.zip FreeBSD-src-534b61c9d531f0c78678a501f1f476c6cc42bfc2.tar.gz |
Added a ".Fx" macro to the mdoc package. Usage:
.Fx version.rel { , . ; : ( ) [ ]
Example:
The
.Nm xyzzy
command first appeared in
.Fx 2.2 .
Produces:
The xyzzy command first appeared in FreeBSD 2.2.
Suggested by wollman.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/groff/tmac/doc-syms | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/tmac/doc-syms b/gnu/usr.bin/groff/tmac/doc-syms index 06ddf80..8031ae4 100644 --- a/gnu/usr.bin/groff/tmac/doc-syms +++ b/gnu/usr.bin/groff/tmac/doc-syms @@ -143,6 +143,24 @@ . if "\\$1"V.4" \&\\*(tNAT&T\\*(aa System V.4 \\*(tNUNIX\\*(aa .\} .. +.\" Ns Fx macro - FreeBSD +.de Fx +.nr cF \\n(.f +.nr cZ \\n(.s +.ds aa \&\f\\n(cF\s\\n(cZ +.if \\n(.$==2 \{\ +. if "\\$1"2.0" \&\\*(tNFreeBSD\\*(aa 2.0\\*(aa\\$2 +. if "\\$1"2.0.5" \&\\*(tNFreeBSD\\*(aa 2.0.5\\*(aa\\$2 +. if "\\$1"2.1" \&\\*(tNFreeBSD\\*(aa 2.1\\*(aa\\$2 +. if "\\$1"2.2" \&\\*(tNFreeBSD\\*(aa 2.2\\*(aa\\$2 +.\} +.if \\n(.$==1 \{\ +. if "\\$1"2.0" \&\\*(tNFreeBSD\\*(aa 2.0\\*(aa +. if "\\$1"2.0.5" \&\\*(tNFreeBSD\\*(aa 2.0.5\\*(aa +. if "\\$1"2.1" \&\\*(tNFreeBSD\\*(aa 2.1\\*(aa +. if "\\$1"2.2" \&\\*(tNFreeBSD\\*(aa 2.2\\*(aa +.\} +.. .\" The Bt macro should go away now .\" Ns Bt macro - prints "is currently in beta test." (HISTORY section) .de Bt |