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

`for` and `while` loops not being converted #58

Open shadichy opened 1 year ago

shadichy commented 1 year ago

while true; do echo 1; done

turns into

REM UNKNOWN: {"type":"While","clause":{"type":"CompoundList","commands":[{"type":"Command","name":{"text":"true","type":"Word"}}]},"do":{"type":"CompoundList","commands":[{"type":"Command","name":{"text":"echo","type":"Word"},"suffix":[{"text":"1","type":"Word"}]}]}}

the same applied to for loop