COHERENT help

This page displays the COHERENT help information for if.

Listing of available help pages


if -- Execute a command conditionally

if sequence1 then sequence2 [elif sequence3 then sequence4] ... [else sequence5] fi

Each then, elif, else, and fi must occur unquoted at the start of a line or
preceded by `;'.  The shell executes if directly.

if -- Introduce a conditional statement