daniel-sc / bash-shell-to-bat-converter

Converter for bash shell scripts to windows batch files.
https://daniel-sc.github.io/bash-shell-to-bat-converter
MIT License
229 stars 45 forks source link

command substitution/expansion broken #51

Open yAoOw opened 2 years ago

yAoOw commented 2 years ago

JAVA_MAJOR_VERSION=$($JAVA_PATH -version 2>&1 | sed -E -n 's/. version "([0-9]).*$/\1/p')

daniel-sc commented 2 years ago

hi @yAoOw this is due to a problem in the upstream vorpaljs/bash-parser: https://github.com/vorpaljs/bash-parser/issues/58 it seems this is not maintained.. not sure how to work around this..