Script Syntax: Variable Expansion and Quoting
mainThe script engine performs environment variable expansion and supports quoting:
- Variable Expansion: Variables like
$VARare expanded within arguments. Special variables:(path separator) and/(path separator) are expanded but not inherited in subprocesses. - Single Quotes: Surrounding text with
'...'disables both word splitting and environment variable expansion. - Escaping Quotes: To include a literal single quote inside a quoted block, use two single quotes:
'Don''t'. - Comments: A line starting with
#is a comment and also marks the beginning of a new log section.