home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: .hy Chapter 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: .hy UNIX in a Nutshell: System V Edition Next: Reference: .if
Reference: .hy Book Index Reference: .if

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