| 1 |
IF(1) General Commands Manual IF(1) |
| 2 |
|
| 3 |
NNAAMMEE |
| 4 |
if - the roff conditional instruction |
| 5 |
|
| 6 |
DDEESSCCRRIIPPTTIIOONN |
| 7 |
One-line true condition. |
| 8 |
|
| 9 |
Next-line empty true condition. |
| 10 |
False condition with whitespace: |
| 11 |
True condition with whitespace: |
| 12 |
|
| 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 wwiitthhoouutt ccoonnttiinnuuaattiioonn bbuutt wwiitthh mmaaccrrooss.. |
| 17 |
Two-line true condition with continuation and macros. |
| 18 |
|
| 19 |
Two-line true condition with blank line. |
| 20 |
Outer true condition. |
| 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. |
| 29 |
|
| 30 |
OpenBSD June 27, 2015 IF(1) |