September 2018
Beginner
186 pages
4h 30m
English
If you are going to change properties of the shell as a whole in part of your script, consider limiting the scope of that change only to the needed part of the script to avoid unexpected effects on the rest of it. Watch for these in particular:
We already saw one effective means of limiting the scope of variables in Chapter 5, Variables and Patterns, by applying them as prefixes to a command:
IFS=: read -r name address
This limits the scope of the IFS change to ...
Read now
Unlock full access