Hacker News new | ask | show | jobs
by tpoacher 1357 days ago
bash isnt posix???

if bash isnt posix then wth is? if you told me "British English isnt actually English" I'd be less surprised than bash and posix.

2 comments

> bash isnt posix???

No

> if bash isnt posix then wth is?

POSIX sh (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...).

POSIX defines a shell that's not completely compatible with Bash. IIRC Ubuntu's `sh` command actually runs bash in a special "POSIX-compatible" mode that's really bare-bones.