Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
1718627440
29 days ago
|
parent
|
context
|
favorite
| on:
Date bug in Rust-based coreutils affects Ubuntu 25...
I try to execute my scripts with dash, but I am not sure if that is enough. Do you have a good way recommendation to check, that you're not relying on non-portable behaviour short of installing another distro, that doesn't take much effort.
gkbrk
29 days ago
[–]
Shellcheck [1] is good for checking that. I think it tries to enforce standard behavior if you set the shebang line to /bin/sh.
[1]:
https://www.shellcheck.net/
1718627440
29 days ago
|
parent
[–]
Last time I tried to use that, I was drowning in messages. I was looking for something with less effort. :-)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: