Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
tix-vars — evaluate variables in port filesSYNOPSIS
tix-vars | [-rtv] [-d default] file [variable-or-assignment ...] |
DESCRIPTION
tix-vars evaluates the variables in the port(5) named by file or the standard input if file is ‘-’. tix-vars considers the assignments and variables in the order of its arguments. If an argument is in the format variable=
value, then the variable is assigned to the value. Otherwise the argument names a variable, whose raw value is written on a line. If no variables were requested, then all variables are written in a normalized form as lines with an equals sign ‘=’ separating the variable name and the value (quoted as needed).- -d default
- Use the default value instead if the variable is unset.
- -r
- Write the raw values with no quoting.
- -t
- Test quietly whether the file is syntactically correct and whether the variables are set without writing their contents.
- -v
- Always include the variable names as an assignment where the value is quoted as needed.