]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/string/undef.out_ascii
Using an undefined string or macro will cause it to be defined as empty.
[mandoc.git] / regress / roff / string / undef.out_ascii
1 STRING-UNDEF(1) General Commands Manual STRING-UNDEF(1)
2
3
4
5 N\bNA\bAM\bME\bE
6 string-undef - expanding undefined strings
7
8 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
9 U\bUs\bse\ber\br d\bde\bef\bfi\bin\bne\bed\bd s\bst\btr\bri\bin\bng\bg
10 The sting "mys" is undefined and remains undefined.
11
12 Its value is "", and now it is defined, and its value is still "".
13
14 After redefining it to "newval", it is of course still defined.
15
16 After removing the definition, it is now undefined.
17
18 U\bUs\bse\ber\br d\bde\bef\bfi\bin\bne\bed\bd m\bma\bac\bcr\bro\bo
19 The macro "mym" is undefined.
20
21 It has no effect: But now it is defined.
22
23 After defining it as: neweffect it is of course still defined.
24
25 After removing the definition, it is now undefined.
26
27 R\bRe\ben\bna\bam\bme\bed\bd m\bma\bac\bcr\bro\bo
28 The standard .BR macro is defined, and it w\bwo\bor\brk\bks\bs.
29
30 After renaming it, the new name is defined, and w\bwo\bor\brk\bks\bs.
31
32 P\bPr\bre\bed\bde\bef\bfi\bin\bne\bed\bd s\bst\btr\bri\bin\bng\bg
33 A predefined string is defined and has the value "(R)".
34
35
36
37 OpenBSD April 9, 2018 STRING-UNDEF(1)