About the CD-ROM

 <  Day Day Up  >  

Script files and datafiles are contained in separate directories for each appropriate chapter.

The script names and datafile names are the same as in the book.

NOTE : Some of the early scripts send mail to a specified list of persons, so you may choose not to run these scripts (or you may want to change the list to just include your own e-mail address to ensure it works okay).

For example, to run Example 2.6, just change directory to chap02 and run "example02.06" from the command line. (You may need to run "chmod +x example02.06" after copying it to your hard disk to ensure that it has execute permission. If so, you'll have to do this for every script file.) The script "example02.06" requires a datafile named "guests" which is provided in the same chap02 directory.

EXAMPLE DIRECTORIES WITH SUBDIRECTORIES

Some chapters have so many examples that the example files are separated into subdirectories by example number. For example, Chapter10 contains subdirectories named:

Ex_10.02-10.14

Ex_10.15-10.26

Ex_10.27-10.29

Ex_10.32-10.49

To run Example 10.23 you would need to go to the directory named chap10/Ex_10.15-10.26.

MINOR SCRIPT CHANGES

Lastly, a few of the scripts in the book ask for a datafile to be in a certain directory. The CD version of each of these scripts has been changed to look for the datafile in the same directory as the script. This minor change was made to enable each script to run immediately without further modification.

For instance, Example 2.6 in the book has a line: set guestfile = ~/shell/guests

The CD version of the script has been changed to: set guestfile = ./guests

HAPPY SHELLING!!

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net