It says this:
This extension changes the semantics of quoted-string, multi-line-
literal and multi-line-dotstuff found in [SIEVE] to enable the inclu-
sion of the value of variables. The syntax follows [ABNF].
but never gives the redefined ABNF for quoted-string, multi-line-literal
nor multi-line-dotstuff.
Nits below.
Tony Hansen
tony(_at_)att(_dot_)com
201c201
< scripts which include a require clause for the "variables"
< extension.
---
> scripts that include a require clause for the "variables"
> extension.
242c242
< When the string is evaluated, substrings matching variable-ref
< shall
---
> When the string is evaluated, substrings matching variable-ref
> SHALL
244c244
< string shall be done. Variable names are case insensitive.
---
> string SHALL be done. Variable names are case insensitive.
407c407
< stops. Variable names are case insensitive.
---
> stops. Variable names are case insensitive, so ${foo} and ${FOO}
> refer to the same variable.
437c437
< Modifiers are applied on value before it is stored in the variable.
---
> Modifiers are applied on a value before it is stored in the
> variable.
463,466c463,466
< set :length "var" "${var}"; => "15"
< set :lower "var" "${var}"; => "jumbled letters"
< set :upperfirst "var" "${var}"; => "JuMBlEd lETteRS"
< set :upperfirst :lower "var" "${var}"; => "Jumbled letters"
---
> set :length "var2" "${var}"; => "15"
> set :lower "var2" "${var}"; => "jumbled letters"
> set :upperfirst "var2" "${var}"; => "JuMBlEd lETteRS"
> set :upperfirst :lower "var2" "${var}"; => "Jumbled letters"
473c473
< The value is the decimal number of letters in the expansion,
---
> The value is the decimal number of characters in the expansion,
578,580c578,579
< When numbered variables are used, strings can contain arbitrary
< values controlled by the sender of the e-mail if the author of the
< script isn't careful.
---
> When numbered variables are used, and the author of the script
> isn't careful, strings can contain arbitrary values controlled by
> the sender of the e-mail.