Hacker News new | ask | show | jobs
by cutler 883 days ago
JS everything. No thanks. Show me a one-liner in Bun which comes anywhere near your average bread & butter bash + Linux utils pipeline. Async my have its uses but shell scripts ain't one of them. Shell scripts are impreative/procedural for a reason - sequential processing.
1 comments

That's literally what this is though. You can run your bash script using bun, and it might even run faster because it's actually implemented in zig.

This post isn't super clear but there's 2 things here. You can run your bash from inside js, or you can run it directly if that's what you prefer.