All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

POSIX Is a Specification, Not a Shell: Why Portability Is More Complicated Than It Seems

By

gaigalas

5h ago· 4 min readenInsight

Summary

This article argues that "POSIX shell" is a misnomer — POSIX is a specification, not a program. The author demonstrates through examples (like echo "C:\new") that different shell implementations (bash, dash, ksh, yash, ash) handle the same POSIX-specified code differently due to gaps, extensions, and historical quirks. The piece highlights the practical pitfalls of assuming portability across shells and encourages developers to understand the actual interpreter running their scripts rather than relying on the abstract POSIX label.

Source

Hacker NewsPOSIX Is a Specification, Not a Shell: Why Portability Is More Complicated Than It Seemsalganet.github.io

Key quotes

· 3 pulled
When someone says 'write it in POSIX shell for portability,' they mean well.
POSIX is a specification. Not a program.
They each implement POSIX with their own gaps, extensions, and historical accidents.
Snippet from the RSS feed
Alexandre Gomes Gaigalas – June 28, 2026

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.