Hacker News new | ask | show | jobs
by marxisttemp 460 days ago
No, command tools should follow the POSIX standards, not GNU.
3 comments

POSIX doesnt even define long opts. I conciously dont follow POSIX these days. The standard will adapt once enough pressure has built up as they mostly document existing things instead of innovate. So I need to apply pressure.
You're almost right. No command tools should follow the POSIX standard. A standard which all but forbids long options deserves only scorn.
POSIX doesn't even provide any utilities to write long opts and it also doesn't even define any long opts for basically any of its commands, so by default it is barely usable in maintainable scripts.