AWK: Difference between revisions

From HaFrWiki42
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
AWK is an extremely versatile programming language for working on files.  
AWK is an extremely versatile programming language for working on files and is named after its three original authors:
* Alfred V. Aho
* Brian W. Kernighan
* Peter J. Weinberger
 
They write: ''Awk is a convenient and expressive programming language that can be applied to a wide variety of computing and data-manipulation tasks.''
 
Most implementations of awk are interpreters which read your awk source program and parse it and act on it directly. Example implementations:
# nawk, AT&T's `new awk' -- probably nobody uses the `old awk' anymore-- . Interpreter, might NOT be well-maintained
# gawk, GNU project, interpreter.
# mawk, Michael Brennan, interpreter.
# tawk, Thompson Automation, interpreter, compiler, MS-Windows DLL
# mksawk, Mortice Kern Systems (MKS), interpreter, compiler,


== See also ==
== See also ==
Line 6: Line 18:
* [http://www.grymoire.com/Unix/Awk.html Grymoire], Tutorial and introduction made by Bruce Barnet.
* [http://www.grymoire.com/Unix/Awk.html Grymoire], Tutorial and introduction made by Bruce Barnet.
* [http://www.gnu.org/software/gawk/manual/gawk.html GNU.org], The GNU Awk User’s Guide.
* [http://www.gnu.org/software/gawk/manual/gawk.html GNU.org], The GNU Awk User’s Guide.
* [http://www.pement.org/awk/awk1line.txt pement.org], AWK one liners by Eric Pement.
* [http://www.pement.org/awk/awk1line.txt pement.org], AWK one liners by Eric Pement
* [http://www.ibm.com/developerworks/library/l-awk1 IBM], AWK Part 1.
* [tawk
    from Thompson Automation
    interpreter
    compiler
    MS-Windows DLL


== Reference ==
== Reference ==

Revision as of 16:12, 19 January 2015

AWK is an extremely versatile programming language for working on files and is named after its three original authors:

  • Alfred V. Aho
  • Brian W. Kernighan
  • Peter J. Weinberger

They write: Awk is a convenient and expressive programming language that can be applied to a wide variety of computing and data-manipulation tasks.

Most implementations of awk are interpreters which read your awk source program and parse it and act on it directly. Example implementations:

  1. nawk, AT&T's `new awk' -- probably nobody uses the `old awk' anymore-- . Interpreter, might NOT be well-maintained
  2. gawk, GNU project, interpreter.
  3. mawk, Michael Brennan, interpreter.
  4. tawk, Thompson Automation, interpreter, compiler, MS-Windows DLL
  5. mksawk, Mortice Kern Systems (MKS), interpreter, compiler,

See also

top

  • Grymoire, Tutorial and introduction made by Bruce Barnet.
  • GNU.org, The GNU Awk User’s Guide.
  • pement.org, AWK one liners by Eric Pement
  • IBM, AWK Part 1.
  • [tawk
   from Thompson Automation
   interpreter
   compiler
   MS-Windows DLL

Reference

top