This is potentially a breaking change (MFC not recommended).
List operators += and -= should not consider some characters as
delimiters when they appear as the first character.
The += and -= operators allow specifying the list delimter as the
first character. For example, sysrc foo+=,123 will iterate over the
value of foo delimited by commas, and if 123 is not found will append
,123 to the value of foo.
However, for the sake of convenience, sysrc has always supported
defaulting to using $IFS as delimiter when the first character of the
+= or -= list operator is [a-zA-Z0-9./]. For example, if you execute
sysrc foo+=abc or sysrc bar+=/tmp or sysrc baz-=.text then the
lists foo, bar, and baz are all presumed to be delimited by $IFS.
By adding [-_*~$] we potentially break lists delimited by any of
those individual characters, but we gain the ability to simplify list
operations. This opens up the ability to execute commands such as:
sysrc ldconfig_paths+='${_localbase}/lib64'
sysrc pppoed_provider+="*"
sysrc rtsol_flags+=-i
sysrc foo+=_local32
sysrc dirs+=~user
Meanwhile, the comma-leading syntax is preserved as-well as colon-
and semicolon-leading syntaxes.