After years of “having to” and “fighting with”, I’m finally grokking shell scripting, I think.

While trying to get a shell script to work on OhMyZsh. I vaguely though of a scene from Where Wizards Stay Up Late. The main difference between the experience of the developers described there and my experience was that I never had to think of a “LOGIN” to be truncated to “LO” due to network issues.

I never had to think of my programs as a stream of characters.

So when I read the comment “Sorry, I should have thought about echoing the contents of course.” (here), it just made sense.