Command Line Expansion
Before passing the command line to the program being called, the shell transforms the command line by using command line expansion. The shell also expands each line of a shell script as the shell executes the script. You can use any of the shells without knowing much about command line expansion, but you can make much better use of what they have to offer with an understanding of this topic.
Chapter 5 discussed one aspect of command line expansion in “Filename Generation/Pathname Expansion” on page 157. TC Shell command line expansion is covered starting on page 693, and Z Shell coverage of this topic begins on page 797. The following sections review several types of command line expansion you may be familiar with and introduce ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access