| KORN SHELL Programming
4 Days course Language: English This course is only available on request!! |
![]() |
|
DESCRIPTION |
WHAT YOU WILL LEARN |
|
WHO SHOULD ATTEND: |
ASSUMED KNOWLEDGE |
OUTLINES
CHAPTER 1: GETTING STARTED CHAPTER 2: SHELL VARIABLES & METACHARACTERS
1) Standard files
2) Korn Shell Variables
3) The typeset command
4) Arrays
5) Built in shell variables
6) Creating your own variables
7) Special Shell Variables
8) More on Arrays
9) Variable expansions
10) Variable substitutions
11) Quoting (escape sequences)
12) File name generation characters
CHAPTER 3: PRODUCTIVITY AIDS
1) Command line editing
2) Aliases
3) The history command
4) Functions
5) The set command
6) The user environment
CHAPTER 4: PROGRAMMING THE SHELL (PART 1)
1) Perspective
2) Creating a script
3) Sending arguments to a script
4) Front ends
5) Decision making in the Korn shell
6) if statement
7) Operators
8) if Variations
CHAPTER 5: PROGRAMMING THE SHELL (PART 2)
1) Loops
2) for Loop
3) while Loop
4) until Loop
5) read Loop
6) case Loop
7) break and continue
CHAPTER 6: MISCELLANEOUS
1) Korn shell arithmetic
2) here documents
3) The getopts command
4) The trap command
5) File i/o
6) Debugging a script
CHAPTER 7: EXAMPLES OF SCRIPTS
1) A front end example
2) Swapping two files
3) Count files in path directories
4) Frequency count of words in a file
5) Add values from field n of a file
6) Prototyping a large project
APPENDIX-1: TABLES
1) Built in shell variables
2) Built in shell commands
3) Control flow constructs
4) Operators
5) Variable substitution
6) Other shells
7) Comparison with C and Bourne Shell
8) C Shell control flow constructs
9) Differences between sh and ksh
10) Bibliography
APPENDIX-2: REVIEW OF COMMON UNIX FILTERS
1) grep - Find lines patching a pattern
2) wc - Count words, lines and characters
3) sort - Sort lines of a file
4) head - Show first few lines of a file
5) tail - Show last few lines of a file
6) tr - Translate characters from one set to another
7) cut - Cut out chars or fields of a file
8) od - Octal dump a file
9) paste - Paste together respective lines of a file
10) awk - Data retrieval language
11) sed - Non interactive stream editor
APPENDIX-3: NEW FEATURES OF 12/28/93 ksh