function_is_empty 

Fuego 1.0 wiki

Login

function is empty

NAME [edit section]

is_empty

SYNOPSIS [edit section]

is_empty <parameter>

DESCRIPTION [edit section]

Checks is it's argument is the empty string. If so, prints an error and exits.

This routine is used internally by several routines to check that their own parameters were non-empty.

EXAMPLES [edit section]

Here are some sample invocations:
      is_empty $1

ENVIRONMENT and ARGUMENTS [edit section]

  • $1 is

RETURN [edit section]

Returns if the parameter is non-empty. Exits otherwise.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]

TBWiki engine 1.9.2 by Tim Bird