| PKG_SUBST(1) | General Commands Manual | PKG_SUBST(1) |
pkg_subst —
substitute variables' values in files
pkg_subst |
[-ci] [-B
basedir] [-D
name[=value]]
[-g group]
[-m mode]
[-o owner]
[file ...] |
pkg_subst is used within the ports tree to
substitute variable values, using the exact same conventions used by
pkg_create(1). Constructs
like ${VAR} will be replaced with the variable
value, according to -D
name[=value] options.
The options are as follows
-B
basedir-m
mode.-c-D
name[=value]-g
group-i-m
mode-o
ownerIf no file arguments is given,
pkg_subst acts as a filter from stdin to stdout.
Without -c, each
file is backed up as
file.beforesubst before the substitution occurs.
| June 26, 2018 | openbsd |