My program is a translator, taking .BAT files as input and creating (hopefully) corresponding Bash scripts. It's written in Bash because it's based on Loriel's TuMac, and I just kept extending it to handle more and more complex scripts.I was mainly thinking about the work that comes after writing the batch file/shell script itself. But maybe they don't need a lot of work once they're written, in which case I guess it'd be no big deal needing to do it twice.
I guess porting bat to sh makes some sense since both have the same approach.
****Note that I updated the attachment in the previous post.****