execline
Software
www.skarnet.org
The define program
define replaces a literal with a value, then executes
another program.
Interface
define [ -s [ -c ] [ -d delim ] ] variable value prog...
- define performs
variable substitution on
prog..., using variable as key and
value as value.
- If the -s option is set, value is
split before the substitution,
according to the crunch flag and the delim value.
- define then execs into the modified prog....
Options
- -s : split value.
- -c : do not crunch extra
delimitors. Default: crunch.
- -d delim : use the characters of the string
delim as delimitors for the split.
Default: " \n\r\t". If delim is the empty string, value
will be interpreted as a valid sequence of
netstrings.