You are not logged in.
Pages: 1
Me and a friend of mine had a small project for one of the classes at the university, to create a program that translates a batch (Windows script) file to a bash (cross-platform, mostly *nix and cygwin script) file.
Now that it's done, I'm posting a link for anyone that might find some use of it. http://ea.github.com/batch2bash/
It still probably doesn't translate most batch files (send me a message if you find examples that don't work), it's poorly documented, the code is an abomination, and errors aren't verbose enough.
I do still plan to work on it even though the project is over, although I'll probably leave it aside a few weeks until I'm done with the rest of the exams.
If someone finds a use for it I might create a install over the AUR. (It actually doesn't have a make install yet even, but it's just the executable anyway)
Offline
Cool. I could really use this when it matures. Do you somehow support one batch calling another one ?
I did not get to testing the stuff yet.
Offline
./batch2bash -i Encode.bat -o Encode.sh
error: (2): syntax error, unexpected ID, expecting $end
Offline
Cool. I could really use this when it matures. Do you somehow support one batch calling another one ?
I did not get to testing the stuff yet.
yeah, it probably works already, but you'd need to translate each of those files first, it doesn't do recursive translation
./batch2bash -i Encode.bat -o Encode.sh
error: (2): syntax error, unexpected ID, expecting $end
i see, i can create a fast fix for that, but i think i should just go ahead and rework some of the basic problems first, we made quite a mess regarding filenames/paths and similar, will post here when that thing of yours works
Offline
Pages: 1