someone the other day said something about pipes not composing well, which i vowed to contemplate on

anyway, while working on something i noticed a section in the 9front fqa where it mounts a subshell's standard output as a filesystem:

mount <{9660srv -s} /n/iso /path/to/9front.iso

We Deserve Better Operating Systems


· · Web · 3 · 2 · 6

(so i mean, technically it is taking a subshell that is acting as a fileserver and presenting it within the current namespace, rather than having an entire iso live in memory for random reading access between processes - still the composability is blowing my mind)

@ed you may find this an intriguing example of namespace usage

@dogstar pipes are one of my favorite abstractions honestly. is <{} equivalent to <() in bash? my intuition says yes, but i've yet to use this construct in my rc programs out of fear of the unknown.

@xj9 in as much as it's redirecting input from a subshell, it is - i don't really know the actual mechanics of how each works

Sign in to participate in the conversation

Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.