OBNC-PATH(1)

NAME
obnc-path - print directory path for Oberon module

SYNOPSIS
obnc-path [-v] MODULE
obnc-path (-h | -v)

DESCRIPTION
obnc-path prints the directory path for an Oberon module. For a module M, the printed path is the first directory found which contains either the Oberon source file, .obnc/M.sym or M.sym.

First the current directory is searched. Then paths in OBNC_IMPORT_PATH are searched. Finally the default library directory in the OBNC installation path is searched.

For each path P, modules are searched both in P and in first-level subdirectories of P. Subdirectories represent individual libraries and are expected to be in lowercase. For the modules in a subdirectory L, only modules prefixed with L followed by an uppercase letter are searched. The other modules in L are considered local to the library.

OPTIONS

-h  Display help and exit.

-v  Without argument, display version and exit. Otherwise, print each inspected directory path to standard output.

ENVIRONMENT

OBNC_IMPORT_PATH
    List of directory paths to search Oberon modules in. Paths are separated with a colon on POSIX systems, and with a semicolon on MS Windows.

AUTHOR
Written by Karl Landström

SEE ALSO
obnc(1), obnc-compile(1)