netvl/shellexpand

Windows shell expansion

darfink opened this issue · 2 comments

Is it planned and/or is there any interest in adding support for shell expansions under Windows?
As you may be familiar with, Windows uses % as envrionment variable delimiter instead of a $ prefix.

netvl commented

Hm, no, such idea didn't even cross my mind. Frankly, I'm not sure I see any sane way to add support for it - I don't want to add support for both styles to all functions as it would make their implementation much more complex, and duplicating all functions doesn't make sense from usability standpoint. After all, the library is not supposed to be used directly with shell script as input, it is intended for easier handling of variables in configuration files, and I think that it is okay to have any syntax in configuration files as long as it is documented.

netvl commented

Very unlikely to happen at this point, sorry!