Hacker News new | past | comments | ask | show | jobs | submit login

Love the idea of writing bash in a higher, easier to read format, similar to CoffeeScript. Unfortunately Batsh is written in OCaml (the author addresses why he uses it though).

How do you use pipes in batsh?




I reckon you don't, because it's not supported in windows batch.

Just googled it. Doesn't seem to be supported yet: https://github.com/BYVoid/Batsh/issues/17


I reckon you don't, because it's not supported in windows batch.

Sure it is: http://www.microsoft.com/resources/documentation/windows/xp/...


Only half-way; it doesn't stream the data, it waits for the first command to finish, saves the entire output, then starts the second command with output as input.


That was true in MS-DOS and Windows 9x. Fixed in Windows NT.


Hum, I don't remember it behaving that way. Why do you say so?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: