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

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

Revision 1.3, Tue Jul 4 15:26:31 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2
Changes since 1.2: +2 -1 lines

Messages of the -Wbase level now print STYLE:.  Since this
causes horrible churn anyway, profit of the opportunity to stop
excessive testing, such that this is hopefully the last instance
of such churn.  Consistently use OpenBSD RCS tags, blank .Os,
blank fourth .TH argument, and Mdocdate like everywhere else.
Use -Ios=OpenBSD for platform-independent predictable output.

.\" $OpenBSD: string.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $
.TH STRING 1 "June 14, 2017"
.SH NAME
string \- conditional testing whether a string is defined
.SH DESCRIPTION
.ie d mystr OOPS
.el mystr not yet defined
.br
.ds mystr mystrval
.ie d mystr now defined
.el OOPS
.if !d mystr OOPS
.PP
.ie d mymac OOPS
.el mymac not yet defined
.br
.de mymac
mymacval
..
.ie dmymac now defined
.el OOPS
.if !d  mymac OOPS
.PP
.ie d myren OOPS
.el myren not yet defined
.br
.rn SM myren
.ie d myren now defined
.el OOPS
.if !d myren OOPS
.PP
standard macro is
.ie d PP defined
.el not defined \(em OOPS