50th Anniversary Of '|'
31 points| nolta | 2 years ago
[1]: https://www.in-ulm.de/~mascheck/bourne/v4/
[2]: https://www.in-ulm.de/~mascheck/bourne/v3/
31 points| nolta | 2 years ago
[1]: https://www.in-ulm.de/~mascheck/bourne/v4/
[2]: https://www.in-ulm.de/~mascheck/bourne/v3/
ralferoo|2 years ago
I wonder if ^ was deprecated because of the likelihood it'd be commonly used at the start of a regexp for grep, but | used to provide alternatives in a regexp was probably much less frequently used and so having to quote is was less of a problem than for ^.
Also interesting that the v3 format had both input and output filters, which is just semantic repositioning of the commands.
samstave|2 years ago
So if you prompt, you can just "^ | table" to say "Now use the above and show me in a table." ; or just " ^ table " should suffice, ideally.
surprisetalk|2 years ago
I'm not sure if it's true, but I've heard that the inspiration for Unix pipes came from APL.
AITree|2 years ago
truecall|2 years ago
[deleted]