Open mawww opened 4 years ago
${var%;*} should remove whatever follows the last ; in var, but it fails to parse with syntax error: expected end of parameter, it seems like the semicolon is treated as an end of command.
${var%;*}
;
syntax error: expected end of parameter
${var%;*}
should remove whatever follows the last;
in var, but it fails to parse withsyntax error: expected end of parameter
, it seems like the semicolon is treated as an end of command.