The spf-path program

spf-path variable subpath skips program [arg...]

spf-path is useful for setting environment variables such as $MANPATH, which should contain one entry for each package directory. It looks under $SP_ROOT/package and /package, and for every package that contains subpath (e.g., "man" in the case of $MANPATH), that path is added to the specified environment variable. The "skips" argument is a space-separated list of paths that should not be added to the environment variable even if they exist. If any of the paths to be skipped contain shell metacharacters, they should have an extra level of quoting applied, since this list will be split using the shell's eval function. Finally, spf-path runs the specified program with the new environment setting.