Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: .hyChapter 12
Nroff and Troff
Next: Reference: .if
 

.ie

.ie [!]condition anything
.el anything

If portion of if-else. If condition is true, do anything. Otherwise do anything following .el request. .ie/.el pairs can be nested. Syntax for condition is described under .if.

Example

If first argument isn't 2, columns are 1.8 inches wide; otherwise, columns are 2.5 inches wide:

.ie !'\\$1'2' .MC 1.8i 0.2i
.el .MC 2.5i 0.25i


Previous: Reference: .hyUNIX in a Nutshell: System V EditionNext: Reference: .if
Reference: .hyBook IndexReference: .if

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System