< Day Day Up > |
About the CD-ROMScript 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:
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 > |