Booking options
£1,697
£1,697
Delivered Online or In-Person
You travel to organiser or they travel to you
Redhill
3 days
All levels
A follow on hands on course from the Introduction to
shell programming course covering the powerful sed
and awk tools along with the extra Korn shell
programming features.
What will you learn
Use regular expressions within grep, ed and many
other utilities.
Use awk and sed.
Integrate sed and awk into shell scripts.
Recognise the role of shell scripts within the UNIX system.
Write shell scripts using new Korn shell features including:
The select construct
Arrays
Arithmetic evaluation
Advanced UNIX shell scripting training course details
Who will benefit:
Programmers developing applications under UNIX.
Administrators who need time saving utilities.
Technical
personnel who wish to make the most out of the Korn
Shell.
Prerequisites:
UNIX shell scripting
Duration
3 days
Regular Expressions
What are REs? How can they be used? How to
write REs
More REs
e REs
Tagging, matching words, repetitions.
The sed editor
Basic usage: Saving output, options. sed script
files, sed commands, Specifying lines to edit, Hold
space and pattern space, advanced commands
Awk
Basic usage, nawk script files, Patterns, Records
and fields,
Actions
if, while, do, for...
System variables
NF, NR, RS...
Arrays
Functions
length, printf, cos, user defined...
Using nawk in shell scripts
Korn shell scripts
Review of Bourne shell scripts
functions...
Variables
typeset, manipulating strings
Arrays
Arithmetic evaluation
the let command, (( )),
typeset -i
The select construct
Syntax, workings, REPLY, PS3
Miscellaneous
Enhanced I/O, ${10}