418
you are viewing a single comment's thread
view the rest of the comments
[-] nicman24@kbin.social 41 points 1 year ago

bash is veeery old and it implements all of posix.

[-] Noodlez@programming.dev 22 points 1 year ago

Bash's posix mode still has a lot of bashisms. The only way to test true posix compliance is to test with other shells like dash and ash. I have found this is the case a lot of time. People will say it's POSIX compliant shell, but it'll obviously only be tested in bash Like at that point just make it a bash script, since pretty much every system under the sun has it.

[-] nicman24@kbin.social 6 points 1 year ago

there is always shellcheck it points them out to you

load more comments (3 replies)
this post was submitted on 27 Jul 2023
418 points (95.6% liked)

Programmer Humor

32476 readers
308 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS