Summary
###########################################################################
File: getpaths.icn
Subject: Procedure to generate elements in path
Author: Richard L. Goerwitz
Date: August 14, 1996
Modified: Bruce Rennie
Date: July 16, 2020
###########################################################################
This file is in the public domain.
###########################################################################
Version: 1.4
###########################################################################
Suspends, in turn, the paths supplied as args to getpaths(),
then all paths in the PATH environment variable. It will append
the system defined path trailer character if required. A typical
invocation might look like:
open(getpaths("/usr/local/lib/icon/procs") || filename)
or like
open(getpaths("/usr/local/lib/icon/procs/") || filename)
Note that getpaths() will be resumed in the above context until
open succeeds in finding an existing, readable file. Getpaths()
can take any number of arguments.
###########################################################################
Requires: UNIX or MS-DOS
###########################################################################
Procedures:
getpaths
This file is part of the (main) package.
Source code.
getpaths(base_paths)
This page produced by UniDoc on 2021/04/15 @ 23:59:54.