Comment by stevage

10 days ago

I don't understand this bit either, unless "proper" means Bash. Because no one should ever write Bash under any circumstances.

[flagged]

  • Heh, honestly I'm kind of touched that you went to that effort.

    Obviously I was using hyperbole. But I can say for sure that my life as a developer and second-rate sysadmin improved when I adopted as policy that I would never ever write any Bash script. Not even for a supposed one-liner, since I could just write that in ZX and avoid any temptation to write (and badly maintain) a Bash script.

        import { $ } from 'zx'
        await $`echo my one liner`