3 ms·
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’.
by mmh0000 2y 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’.
- passthejoe 2y agoThis has bitten me many times
- EasyMark 2y agoIt’s why if my bash turns into more than a page or two I start re-evaluating it and turn it into python
- throwaway7ahgb 2y agoCorrect 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.
- np_tedious 2y agoI took my parent post as meaning the app language dependencies. Pip packages or ruby gems or "must be exactly python 3.12"