Introduction
Example Code Segment
Example Screen Output
Example Command Line
Basic Shells
Why Use Shells
The Shell History
Bourne Shell
C Shell
Korn Shell
Read That Manual!
What is a Shell Script
Anyway
Example Basic Shell
Script
In The Begining
Shell Syntax
Invocation Flags
Definitions
Blanks
Names
Parameters
Script Example
Screen Output
Built-In Commands
Command Substitution
Example Grave Accent
Quoting & Escaping
Example Quoting
Parameter Substitution
Startup & Environment
What Are They?
Why Use Them
Example Useful Profiles
Example Cron Test Function
Example Raw Cron Test
Example Setting User
Environment
Environment
Example Environment
Variables
Pipes, Lists & Redirection
Pipe Dreams
Example Pipes
Lists
Current Shell
Sub Shell
Redirects
Example Redirected
Cat
Example Indented Cat
Example Simple Menu
Input & Output
Syntax Checking
Example Syntax Checking
Protect Yourself
Example File Exists
Example Verify
Reading Keyboard Input
Example Dot List
Example Overwrite
Where's My Print Gone?
Temporary File Generation
Filenames
Using Files
Simple File Creation
Example Cat & Variables
Example Simple Echo
Complex File Creation
Example Complex Echo
Forms
Example List
Example Counted List
Example Sorted List
File Reading
Example Reverse List
& Count Words
Example Tail -f Option
Design Considerations
Shell Script Style Guide
Banners
Banner Example
Detailed Banner Notes
Lesser Banners
Example of Function
or Procedure Banners
Example of Logical
Block Banners
Example of Function
Definition with Logical Blocks
Symbols
Symbol Form
Class Form
Layout
Layout Rules
Layout Example
Functions
Simple Date & Time
Functions
Simple File Setup Functions
Simple String Functions
Simple Menu Functions
Simple Utility Functions
SQL*Net 1.0 Functions
Debugging
Flags
Example Flags
Echo
Example Echo
Null Parameter Trap
Null Parameter Example
Error Messages
Emergency Exit
Putting It All Together
Database Generator Script
Script Listing
Appendix
Oracle's .cshrc
Oracle's .profile
Oracle's .profile_references
Oracle's .profile_paths
Oracle's .profile_READ_ME