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

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

Revision 1.3, Tue Jul 4 15:26:28 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: roff.in,v 1.5 2017/07/04 14:53:26 schwarze Exp $
.TH ARGS-ROFF 1 "February 21, 2015"
.SH NAME
args-roff - arguments to roff macros
.SH DESCRIPTION
.de test
.BI (\\$1) "(\\$2)"
.br
..
arguments containing quotes:
.test a"b a"b
.de test
(\\$1) (\\$2)
.br
..
standard unquoted:
.test one two
escaped blanks:
.test one\ one two\ two
escaped 'e' character:
.test one\eone two
escaped backslash before blank:
.test one\\ two
escaped backslash before 'e' character:
.test one\\e two
double inter-argument space:
.test one  two
triple inter-argument space:
.test one   two
single eol blank:
.test one two 
double eol blank:
.test one two  
triple eol blank:
.test one two   
standard quoted:
.test "one" "two"
quoted quotes:
.test "one""one" """two"""
quoted whitespace:
.test "one one" "two two"
escaped 'e' characters:
.test "one \e one" "\e"
escaped backslash before blank:
.test "one\\ one" "\\ "
escaped backslash before 'e' character:
.test "one\\eone" "\\e"
double inter-argument space:
.test "one one"  "two two"
triple inter-argument space:
.test "one one"   "two two"
missing inter-argument space:
.test "one one"two\ two
single eol blank:
.test "one one" "two two" 
double eol blank:
.test "one one" "two two"  
triple eol blank:
.test "one one" "two two"   
trailing blanks in arguments:
.test "one " "two "
unterminated quotes:
.test "one
.test one "two
single trailing blank in unterminated quotes:
.test "one 
.test one "two 
double trailing blank in unterminated quotes:
.test "one  
.test one "two  
backslash at eol:
.test one two\