Given a working, syntactically and semantically correct(!) batch file it produces a bash file. Only exception are some weird goto jumps which you should avoid in general. You still need to make the output file executable if that is your intention. Running a translated script without checking it first is highly discouraged. Always first make sure it won't do any damage.
bison,flex, g++,gcc
make sure you have all dependencies and just do make
Gajo Petrovic
Aleksandar Nikolic
You can download this project in either zip or tar formats.
You can also clone the project with Git by running:
$ git clone git://github.com/ea/batch2bash