This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

echoifexists

    echoifexists is a utility that echoes the value of <a> if <file> exists, echoes the value of <b> otherwise.

    Usage:
        ops -echoifexists <file> <a> <b>
    

    Example

      ops -echoifexists "exists" "doesn't exists"