version 1.2, 2021/06/28 20:12:45 |
version 1.3, 2023/11/13 21:07:06 |
|
|
IF(1) General Commands Manual IF(1) |
IF(1) General Commands Manual IF(1) |
|
|
NNAAMMEE |
NNAAMMEE |
if - the roff conditional instruction |
if - the roff conditional instruction |
|
|
DDEESSCCRRIIPPTTIIOONN |
DDEESSCCRRIIPPTTIIOONN |
One-line true condition. |
One-line true condition. |
|
|
Next-line empty true condition. |
Next-line empty true condition. |
False condition with whitespace: |
False condition with whitespace: |
True condition with whitespace: |
True condition with whitespace: |
|
|
One-line true condition with block. |
One-line true condition with block. |
One-line true condition with block with leading blanks. |
One-line true condition with block with leading blanks. |
Two-line true condition without continuation and macros. |
Two-line true condition without continuation and macros. |
Two-line true condition wwiitthhoouutt ccoonnttiinnuuaattiioonn bbuutt wwiitthh mmaaccrrooss.. |
Two-line true condition wwiitthhoouutt ccoonnttiinnuuaattiioonn bbuutt wwiitthh mmaaccrrooss.. |
Two-line true condition with continuation and macros. |
Two-line true condition with continuation and macros. |
|
|
Two-line true condition with blank line. |
Two-line true condition with blank line. |
Outer true condition. |
Outer true condition. |
Inner one-line true condition. |
Inner one-line true condition. |
Inner two-line true condition without continuation and macros. |
Inner two-line true condition without continuation and macros. |
Back to the outer true condition. |
Back to the outer true condition. |
Outer true condition. After conditional. |
Outer true condition. After conditional. |
Outer true condition. After conditional. |
Outer true condition. After conditional. |
Outer true condition. Inner true condition. After conditional. |
Outer true condition. Inner true condition. After conditional. |
Outer true condition. After conditional. |
Outer true condition. After conditional. |
Backslash-backslash-brace in text: On a macro line: End. |
Backslash-backslash-brace in text: On a macro line: End. |
|
|
OpenBSD June 27, 2015 IF(1) |
OpenBSD June 27, 2015 IF(1) |