Chapter 11 The awk Programming Language Contents: Conceptual Overview Command-Line Syntax Patterns and Procedures Built-in Variables Operators Variables and Array Assignments User-Defined Functions Group Listing of awk Functions and Commands Implementation Limits Alphabetical 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.[ 1 ] 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. Chapter 11 The awk Programming Language
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:
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). The AWK Manual - Table of Contents
Contents Principle of Script Variables Branching Looping Commandline Arguments Comparisons Variable Manipulations Ksh Regular Expressions Functions Data Redirection Pipes Coprocesses Read Input from User and from Files Special Variables Action on Success or Failure of a Command Trivial Calculations Numerical 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. KSH script BASICS
Awk - A Tutorial and Introduction - by Bruce Barnett Thu Nov 22 18:38:28 EST 2012 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.