“Advanced” Configuration
This chapter presents the “standard” configuration of DMK. However, the flexibility of the tool permits customizations and extensions.
Aliases & Variables Management
The following paragraphs explain how to create your own aliases and variables.
Declare an alias
Aliases are declared using the following syntax:
[var|novar]
var : creates automatically a variable with the name of the alias
novar : doesn’t create the above variable
[force|noforce]
force : if a command or an alias already exists it’s overwritten
noforce: a warning is printed instead of overwriting the existing alias or command
Example of a warning printout
Declare a variable
Variable are declared using the following syntax
[=|+|-]
= : Equal operator
: expand an existing variable
: contract, remove element from a variable
[begin|end|noption|warn|nowarn]
begin/end : works only with the operators [+|-]
nooption|warn : default behave print a warning in case the variable exists
nowarn : disable warning and overwrites the variable
Example of a warning printout
Last updated