Chapter 11 The awk Programming Language. Chapter 11 The awk Programming Language Contents:Conceptual OverviewCommand-Line SyntaxPatterns and ProceduresBuilt-in VariablesOperatorsVariables and Array AssignmentsUser-Defined FunctionsGroup Listing of awk Functions and CommandsImplementation LimitsAlphabetical Summary of Functions and Commands 11.1 Conceptual Overview awk is a pattern-matching program for processing files, especially when they are databases.
The new version of awk, called nawk, provides additional capabilities. Every modern Unix system comes with a version of new awk, and its use is recommended over old awk.  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. Man/man1/ksh.html man page. Ksh is a command and programming language that executes commands read from a terminal or a file.
Rksh is a restricted version of the command interpreter ksh; it is used to set up login names and execution environments whose capabilities are more controlled than those of the standard shell. Rpfksh is a profile shell version of the command interpreter ksh; it is used to to execute commands with the attributes specified by the user's profiles (see See Invocation below for the meaning of arguments to the shell. Definitions A metacharacter is one of the following characters: The AWK Manual - Table of Contents.
Edition 1.0 December 1995 This file documents awk, a program that you can use to select particular records in a file and perform operations upon them.
This is Edition 1.0 of The AWK Manual, for the new implementation of AWK (sometimes called nawk). KSH script BASICS. Contents Principle of ScriptVariablesBranchingLoopingCommandline ArgumentsComparisonsVariable ManipulationsKsh Regular ExpressionsFunctionsData RedirectionPipesCoprocessesRead Input from User and from FilesSpecial VariablesAction on Success or Failure of a CommandTrivial CalculationsNumerical Calculations using "bc""grep""sed""awk""perl" Principle of Script Defining the Shell Type To make a ksh script (which is a ksh program) crate a new file with a starting line like:#!
/usr/bin/ksh It is important that the path to the ksh is propper and that the line doesn not have more than 32 characters. Awk - A Tutorial and Introduction - by Bruce Barnett. Mon Mar 3 10:25:09 EST 2014 Part of the Unix tutorials And then there's My blog Copyright 1994,1995 Bruce Barnett and General Electric Company Copyright 2001,2004,2013 Bruce Barnett All rights reserved 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.