function is abs path

NAME [edit section]

is_abs_path

SYNOPSIS [edit section]

is_abs_path <path>

DESCRIPTION [edit section]

Checks if the supplied path is absolute (starts with /) or relative.

EXAMPLES [edit section]

Here are some sample invocations: Usage within an if-else statement:

ENVIRONMENT and ARGUMENTS [edit section]

RETURN [edit section]

Returns 0 if the path is absolute and 1 otherwise.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]