The context def
is populated by the Masterfiles Policy Framework and can also be populated by the augments file.
Note: Variables defined from policy in a bundle named def
will override the variables defined by the augments file unless the policy explicitly guards against it.
For example mailto
is only defined from policy if it is not yet defined by the augments file.:
code
bundle common def
{
vars:
# ...
"mailto"
string => "root@$(def.domain)",
if => not(isvariable("mailto"));
# ...
}
def.jq
This variable gives a convenient way to invoke jq for the mapdata()
function in json_pipe
mode and elsewhere. Note the below is the default value defined in the C code that you can override in the vars
section of the augments file or in policy as described above.
code
# def.jq = jq --compact-output --monochrome-output --ascii-output --unbuffered --sort-keys
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4