1 IF(1) General Commands Manual IF(1)
4 if - the roff conditional instruction
6 D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
7 One-line true condition.
9 Next-line empty true condition.
10 False condition with whitespace:
11 True condition with whitespace:
13 One-line true condition with block.
14 One-line true condition with block with leading blanks.
15 Two-line true condition without continuation and macros.
16 Two-line true condition w
\bwi
\bit
\bth
\bho
\bou
\but
\bt c
\bco
\bon
\bnt
\bti
\bin
\bnu
\bua
\bat
\bti
\bio
\bon
\bn b
\bbu
\but
\bt w
\bwi
\bit
\bth
\bh m
\bma
\bac
\bcr
\bro
\bos
\bs.
\b.
17 Two-line true condition with continuation and macros.
19 Two-line true condition with blank line.
21 Inner one-line true condition.
22 Inner two-line true condition without continuation and macros.
23 Back to the outer true condition.
24 Outer true condition. After conditional.
25 Outer true condition. After conditional.
26 Outer true condition. Inner true condition. After conditional.
27 Outer true condition. After conditional.
28 Backslash-backslash-brace in text: On a macro line: End.
30 OpenBSD June 27, 2015 IF(1)