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

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

Revision 1.2, Tue Jul 4 15:26:32 2017 UTC (6 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, VERSION_1_14_5, VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2
Changes since 1.1: +3 -2 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: escname.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $
.Dd $Mdocdate: July 4 2017 $
.Dt DE-ESCNAME 1
.Os
.Sh NAME
.Nm de-escname
.Nd escape sequences in macro names
.Sh DESCRIPTION
initial text
.Pp
define second = val2
.de second
val2
..
.Pp
define first\esecond = val3
.de first\\second end3
val3
.end3
.Pp
define first = val1
.de first\esecond
val1
..
.Pp
Values (first, second, first\esecond):
.first
.second
.first\\second
.Pp
Remove all but second:
.rm first\\second first\esecond second
.first
.second
.first\\second
.Pp
macro seperated from argument by an escape sequence:
.de witharg end4 excess arguments
.Dq \\$1
.end4 tail argument
.witharg\(enargument
.Pp
.de\e
final text