Skip to main content

if empty

if empty

Causes a branch to the given label if the last test command found an empty string. Usage example:

    test: <p1>
    if empty: $No First Arg

The first command determines if the first parameter provided in the command line is missing or empty. The second command branches to the label $No First Arg if this is the case.

FeedbackOpens in a new tab