1. 9

  2. 1

    I’m especially interested to see “Shell, the good parts”.

    1. 1

      Yeah a lot of people have asked for those posts. The first two parts are:

      http://www.oilshell.org/blog/2017/01/13.html http://www.oilshell.org/blog/2017/01/15.html

      I think the rest of it will be:

      (3) Shell Functions are Mostly Interchangeable with External Commands (if you are a shell expert you might know why I say “mostly”)

      (4) The Arg Vector Dispatch Pattern. Basically this is when you have “$@” on a line, which runs the function $0 with args $1 and on. I use it all over my scripts, including the ones in the repo: https://github.com/oilshell/oil/

      In addition to organizing the code nicely, it allows “callbacks” from xargs, find, sudo, etc. So it relates to Bernstein chaining again.