Book Image

Learning Shell Scripting with Zsh

By : Gaston Festari
Book Image

Learning Shell Scripting with Zsh

By: Gaston Festari

Overview of this book

Table of Contents (13 chapters)


This is the part of our journey that requires us to pack up our things and wrap up the chapter. On this occasion though, we went from using Globbing as something we thought was "quite like a regular expression" to understanding what is actually a whole different beast. Luckily for us, that beast was pretty easy to tame once we learned the behavior of the most popular operators and qualifiers. We then expanded on those constructs with more special patterns and got to know zmv in order to make most of our daily tasks a breeze. Summing up, we can say that we:

  • Learned about quotes, escaping symbols, and double quotes together with shell expansion within them

  • Got started with Globbing and parameter substitution within the command line

  • Kicked it up a notch and dove headfirst into extended Globbing, learning about recursive searching, and operators for negating and excluding patterns

  • We learned about glob qualifiers, how to use them to discriminate files by the system time and size

  • And finally...