[BACK]Return to V1.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / esc

File: [cvsweb.bsd.lv] / mandoc / regress / roff / esc / V1.in (download)

Revision 1.1, Mon May 30 23:03:50 2022 UTC (2 years ago) by schwarze
Branch: MAIN
CVS Tags: HEAD

Dummy implementation of the roff(7) \V (interpolate environment variable)
escape sequence.  This is needed to get \V into the correct parsing
class, ESCAPE_EXPAND.

It is intentional that mandoc(1) output is *not* influenced by environment
variables, so interpolate the name of the variable with some decorating
punctuation rather than interpolating its value.

.\" $OpenBSD: V1.in,v 1.1 2022/05/30 22:50:40 schwarze Exp $
.TH ESC-V1 1 "May 31, 2022"
.SH NAME
esc-V1 \- interpolate environment variables
.SH DESCRIPTION
single-character name: "\VN"
.br
double-character name: "\V(VN"
.br
multi-character name: "\V[VARNAME]"