Closed yanshein closed 1 week ago
crudini changed this behavior on purpose, as in the old version the --format=sh in your command above was a noop, and didn't actually do any sh identifier verification. I.e. if you remove the --format=sh
portion of the command, it should behave the same on both UBI8 and UBI9. As you've seen, the new version of crudini then uses --format=sh on the whole file, to give a shortcut to evaluate the whole file in the format presented above.
When using --format=sh with --get section, or --get section param, the verification and quoting is performed similarly on all crudini versions
odbc.ini file has this content
In UBI9, crudini lists the section parseable by shell INCORRECTLY.
gives the following output:
In UBI8, crudini lists the section parseable by shell CORRECTLY.
gives the following output: