Read Me
Shell Pepper extension library
The Shell Pepper library provides scripts, executables, and loadable modules designed to enhance the Unix shell.
The mandate of the project is fairly open-ended, but generally the aim is to provide functionality that helps users to create reliable, well-engineered scripts, and which helps provide better integration between the shell and the code written to run in it. The current work includes:
- Support for Bash and Korn Shell (soon to be extended to include zsh)
- Creation of socket pairs, and sendmsg/recvmsg allowing shell scripts to pass file descriptors to/from other processes
- Creation of named sockets, and the ability to connect to named sockets
Future planned functionality includes:
- A JSON serialization/deserialization library
- Support for JSON-RPC as a mechanism for interfacing with external tools and libraries
- Ability to read, write, and store binary data (for shells that lack the capability)
- Ability to associate multiple traps with a single signal or condition (for shells that lack the capability)