@[email protected] to Programmer [email protected]English • 1 year agopython < shell (for scripts)programming.devmessage-square74fedilinkarrow-up1622
arrow-up1605imagepython < shell (for scripts)programming.dev@[email protected] to Programmer [email protected]English • 1 year agomessage-square74fedilink
minus-square@[email protected]linkfedilink8•1 year agoWhy is always about bash? POSIX shell scripts run everywhere.
minus-square@[email protected]linkfedilinkEnglish3•1 year agoBASH has some useful features and I’ve literally never had an environment with bash unavailable (even if a package is needed, so what).
minus-square@[email protected]linkfedilink1•1 year agoMacOS ships only 3.something version, which has some compatibility issues with Bash 4+.
minus-square@[email protected]linkfedilink2•1 year agoGranted, it’s a kind of niche use case but in the embedded world there’s usually size constraints which prevents a full blown bash installation. However, things are better now than 20 years ago. Flash is cheap.
Why is always about bash? POSIX shell scripts run everywhere.
BASH has some useful features and I’ve literally never had an environment with bash unavailable (even if a package is needed, so what).
MacOS ships only 3.something version, which has some compatibility issues with Bash 4+.
brew install bash
Granted, it’s a kind of niche use case but in the embedded world there’s usually size constraints which prevents a full blown bash installation.
However, things are better now than 20 years ago. Flash is cheap.