Shell ain’t a bad place to FP: p

Shell ain’t a bad place to FP: part 2/N: Functions as Unix Tools
Shell ain’t a bad place to FP: part 2/N: Functions as Unix Tools
As we saw in the previous post, functions obey stdio and we can mix and match them with built-ins (grep, sed, cat etc.) and other installed tools (like jq, pandoc, babashka etc.). We used functions to name parts of Douglas McIlroy’s pipeline and mess around a bit.

https://www.evalapply.org/posts/shell-aint-a-bad-place-to-fp-part-2-functions-as-unix-tools/index.html