KSH

TwitterFacebook
Get flash to fully experience Pearltrees
awk is a pattern-matching program for processing files, especially when they are databases. The new version of awk , called nawk , provides additional capabilities.[ 1 ] Every modern Unix system comes with a version of new awk , and its use is recommended over old awk . [1] It really isn't so new. The additional features were added in 1984, and it was first shipped with System V Release 3.1 in 1987. Nevertheless, the name was never changed on most systems. Different systems vary in what the two versions are called. http://oreilly.com/catalog/unixnut3/chapter/ch11.html

Chapter 11 The awk Programming Language

http://www2.research.att.com/sw/download/man/man1/ksh.html

man/man1/ksh.html man page

A blank is a tab or a space . An identifier is a sequence of letters, digits, or underscores starting with a letter or underscore. Identifiers are used as components of variable names. A vname is a sequence of one or more identifiers separated by a . and optionally preceded by a . . Vnames are used as function and variable names.
http://www.staff.science.uu.nl/~oostr102/docs/nawk/nawk_toc.html Actions : The various types of actions are introduced here. Describes expressions and the various operators in detail. Also describes comparison expressions.

The AWK Manual - Table of Contents

It is important that the path to the ksh is propper and that the line doesn not have more than 32 characters. The shell from which you are starting the script will find this line and and hand the whole script over to to ksh. Without this line the script would be interpreted by the same typ of shell as the one, from which it was started. But since the syntax is different for all shells, it is necessary to define the shell with that line. Four Types of Lines A script has four types of lines: The shell defining line at the top, empty lines, commentary lines starting with a # and command lines.

KSH script BASICS

http://www.well.ox.ac.uk/~johnb/comp/unix/ksh.html#branching
http://www.grymoire.com/Unix/Awk.html

Awk - A Tutorial and Introduction - by Bruce Barnett

You are allowed to print copies of this tutorial for your personal use, and link to this page, but you are not allowed to make electronic copies, or redistribute this tutorial in any form without permission. Awk is an extremely versatile programming language for working on files. We'll teach you just enough to understand the examples in this page, plus a smidgen. The examples given below have the extensions of the executing script as part of the filename. Once you download it, and make it executable, you can rename it anything you want. In the past I have covered grep and sed .