HN Hall of Fame Weekly email

JavaScript for Shell Scripting

Screenshot of github.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
5
submitters
5
observed span
2021–2024
peak thread · 181 comments
385 pts
latest 20+ return · 2024-02-10
162 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

I hope the $ interpolator at least performs escaping instead of blindly concatenating shell scripts? Ah, who am I kidding. https://github.com/google/zx/blob/5ba6b775c4c589ecf81a41dfc9... function substitute(arg) { if (arg instanceof ProcessOutput) { return arg.stdout.replace(/\n$/, '') } return arg } // […] let cmd = pieces[0], i = 0 for (; i < args.length; i++) cmd += substitute(args[i]) + pieces[i + 1] for (++i; i < pieces.length; i++) cmd += pieces[i] Sigh… yet another code injection vector. And to think the…

It looks like people don’t get it. This isn’t “better” than your tool of choice. This is a tool for JavaScript developers to write non-trivial scripts in a portable way without getting lost in POSIX hell. Who came up with this stuff? https://stackoverflow.com/a/13373256 If you can write shell code, Perl, Python, COBOL, suit yourself. This is for JavaScript developers in JavaScript projects.

this looks neat but zero docs

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
556

reference only — not used in Hall rules or ranking

Total comments
320

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2021-05-06A package for writing scripts on JavaScript instead of Bashmedv20
2021-05-07JavaScript for Shell ScriptingFirst breakout · Best threadgigel82385181
2023-01-15ZX-shell: write JavaScript/TS+Bash scripts that download their dependenciesnathan_phoenix30
2024-01-07Zx: A tool for writing better scritpsnateb202242
2024-02-10ZX – A tool for writing better scriptsHall induction · Latest 20+ point returnAbuAssar162137