logoalt Hacker News

wakawaka28last Saturday at 11:54 PM1 replyview on HN

If you want to be super pedantic, try to make the command shell-agnostic in case the user is not running bash already.


Replies

godelskiyesterday at 4:48 AM

Everything I wrote works in bash and zsh. I think this is going to be fine for the vast majority of people. Tbh, I'm not sure what isn't portable, or at least not portable for everything that the curl-pipe-bash pattern doesn't already work for.

show 3 replies