Hacker News new | ask | show | jobs
by mmh0000 720 days ago
Mmm. I’d argue that all shell scripts use a ton of dependencies that are different across Unix/Linux.

I. E. ‘sed -i’ is only in GNU sed. Same with ‘grep -P’.

3 comments

I took my parent post as meaning the app language dependencies. Pip packages or ruby gems or "must be exactly python 3.12"
Correct but if you're in a situation where this is a issue you probably know about it and can use POSIX versions that are more portable.

Otherwise nobody thinks of it because most likely it is not being distributed.

This has bitten me many times
It’s why if my bash turns into more than a page or two I start re-evaluating it and turn it into python