Open vinjana opened 6 years ago
Compare RoddyToolLib:bash-services (6e79d18).
There is a reimplementation of the scaping logic that might be useful. See RoddyToolLib::RoddyIOHelpers.EscapableString, or consider using Apache Commons Text StringUtils.
Configuration variables need to be passed through a shell-layer at different places in Roddy, e.g. in the wrapInScript.sh if when commands are remotely or locally executed.
The current approach to just use double quotes for configuration values (with some exceptions) is not ideal and results in misconfigurations. A better way needs implemented
Continue these thoughts, and come up with a disciplined way for quoting and escaping that works and is simple enough for the users.