You've got to admire this and at the same time you can't help but see the shadow of two more letters on the end of its name...
Don't script it. Batsh it!
A language that compiles to Bash and Windows Batch
71–80 of 148 posts
Re: A language that compiles to Bash and Windows Batch
#72You've got to admire this and at the same time you can't help but see the shadow of two more letters on the end of its name...
Re: A language that compiles to Bash and Windows Batch
#73no easily found windows installer and has obscure dependencies whilst claiming it has none etc. etc.
Re: A language that compiles to Bash and Windows Batch
#74The idea is interesting, but ultimately the utility of this seems limited. The differences between windows and Unix are more than just the shell language involved; shell scripts are typically deeply intertwined with the system in question, to the point where it's often not the case that a bash script will even run reliably across different Unix systems, much less on windows. Also, you can already run bash on windows,…
The attraction for me is not about portability, it's about having a better language to write CMD script. Even when you know you have Python available sometimes you still need to glue things together with CMD.
why? is there something cmd can do that python can't? one example is enough...
Re: A language that compiles to Bash and Windows Batch
#75Re: A language that compiles to Bash and Windows Batch
#76Earlier quoted context omitted.
The attraction for me is not about portability, it's about having a better language to write CMD script. Even when you know you have Python available sometimes you still need to glue things together with CMD.
> sometimes you still need to glue things together with CMD why? is there something cmd can do that python can't? one example is enough...
Re: A language that compiles to Bash and Windows Batch
#77how is this top item? seems unfinished, unpolished, not very useful and very run of the mill as an achievement. no easily found windows installer and has obscure dependencies whilst claiming it has none etc. etc.
Re: A language that compiles to Bash and Windows Batch
#78Earlier quoted context omitted.
Well sure, but these days PowerShell is what Windows people use for anything non-trivial.
And PowerShell is an awful shell; it's great for script automation of windows, but as a shell, just no. Microsoft recognizes this, it's the reason a full Ubuntu bash shell is available in Windows 10.
MS also tried to improve PowerShell by installing the PSReadLine module by default.
Read https://github.com/lzybkr/PSReadLine for instructions on how to make PS a bit more usable.