|Re: DOS to UNIX shell translator? Stephen.Darlington@durham.ac.uk (Stephen Darlington) (1994-08-05)|
|Re: DOS to UNIX shell translator? firstname.lastname@example.org (1994-08-07)|
|Re: DOS to UNIX shell translator? email@example.com (1994-08-18)|
|From:||firstname.lastname@example.org (David Thomas Richard Given)|
|Organization:||University Of St. Andrews|
|Date:||Sun, 7 Aug 1994 17:48:45 GMT|
Stephen Darlington <Stephen.Darlington@durham.ac.uk> wrote:
>I need to translate between UNIX and DOS (and back) shells for my third
>year computing project - so a sh like shell for DOS would not be of use.
>Current opinion (my own and of people who have replied - thanks and sorry
>for not replying by the way) suggest that I should use the Bourne shell.
I think you aren't going to be able to convert sh > .BAT, because sh
scripts are a lot more powerful that .BAT files. For example, how are you
going to convert multi-line ifs, switch statements, and back-quotes into
.BAT files? However, .BAT > sh should be easy enough; the only slight
difficulty may be due to GOTOs. Does sh support goto? (Never use it, so
never wanted to find out :)
Return to the
Search the comp.compilers archives again.