SHTK_CLI_DIRNAME(3)
SHTK_CLI_DIRNAME(3) Library Functions Manual SHTK_CLI_DIRNAME(3)

shtk_cli_dirnameGets the directory where the current script lives

shtk_import cli

shtk_cli_dirname

The shtk_cli_dirname function prints the path to the directory where the current program lives.

shtk(3), shtk_cli(3)

shtk_cli_dirname first appeared in shtk 1.0.

November 5, 2014 Debian