Main index

Introducing UNIX and Linux


Awk

Overview
What is 'awk'?
Invoking 'awk'
Naming the fields
Formatted output
      Operators used by Awk
Patterns
Variables
      Accessing Values
      Special variables
Arguments to 'awk' scripts
Arrays
Field and record separators
Functions
      List of Awk functions
Summary
Exercises

Operators used by Awk

+ addition
- subtraction
* multiplication
/ division
% integer remainder
^ power
== is equal to
!= is not equal to
> is greater than
>= is greater than or equal to
< is less than
<<= is less than or equal to
&& and
|| or

Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck