Back to Search
Start Over
Files-as-Filesystems for POSIX Shell Data Processing
- Source :
- PLOS@SOSP
- Publication Year :
- 2021
- Publisher :
- ACM, 2021.
-
Abstract
- The POSIX shell is 'stringy', and its ecosystem primarily supports line-oriented formats. While such formats are popular and common, contemporary programming often involves semi-structured data, like JSON or YAML. Dealing with such formats, the shell's stringiness leaves users out in the cold---the POSIX ecosystem struggles with semi-structured data. New command-line tools work well with 'modern' data formats, but each tool is its own complex language to learn. The tree-like filesystem is the shell's only real data structure. By mapping 'modern' formats onto file hierarchies, we can work effectively in the existing ecosystem. We introduce ffs, the file filesystem, a new tool for mapping semi-structured data formats to filesystems in userspace. Like /proc and /sys, our filesystem-based approach helps the shell (and other tools) manipulate structured data.
Details
- Database :
- OpenAIRE
- Journal :
- Proceedings of the 11th Workshop on Programming Languages and Operating Systems
- Accession number :
- edsair.doi...........4eef38f6212fb010a227966f90e8926c
- Full Text :
- https://doi.org/10.1145/3477113.3487265