July 2018
Beginner
264 pages
8h 9m
English
In addition to functions, we can also create multiple scripts and include them such that we can utilize any shared variables of functions.
Let's say we have a library or utility script that contains a number of functions useful for creating files. This script by itself could be useful or reusable for a number of scripting tasks, so we make it program neutral. Then, we have another script, but this one is dedicated to a single task: performing useless file system operations (IO). In this case, we would have two files:
The io_maker.sh script simply imports or includes the
Read now
Unlock full access