Hacker News new | past | comments | ask | show | jobs | submit login
The Shell Is a Program (belkadan.com)
3 points by zdw 41 days ago | hide | past | favorite | 1 comment



> I’ve said on occasion that shell syntax is a DSL for posix_spawn.

Heaven help us! clone/exec not posix_spawn, a shell needs to do things in the new process before starting a new executable.

There's more to a Linux command line (which is what the article is about) than processes. Other important primitives involve files, file names file descriptors, pipes, and sockets.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: