logoalt Hacker News

kstrauserlast Sunday at 11:12 PM2 repliesview on HN

Do you really limit your shell experience to plain POSIX? That sounds masochistic.


Replies

fmbblast Monday at 6:15 AM

Ever since shellcheck came around I have been writing all my scripts in POSIX sh. Its not that bad actually and knowing stuff is just more compatible is worth that little friction.

show 2 replies
wpmlast Tuesday at 4:08 AM

I would rather limit myself to things I know are going to be preinstalled on the platforms I use than deal with the masochism that is scripted dependency management. No thanks.

All these comments here "Uhhh just use PythoN!" Yeah? I write scripts that need to run on macOS. No Python there. Yeah I can have my script sit there and pull the command line tools in an automated way and wait the 20 minutes it takes to install or I can pull on my big boy pants and just figure out how to do it in shell. It's turing complete. It works. Whatever.

show 1 reply