Category:AWK: Difference between revisions

m
awk and shell are not the only scripting languages to support numbers and strings
(Major rewrite. Removes the sentences copied from Wikipedia, but retains a link to Wikipedia's article, and still mentions strings, associative arrays, and the reference implementation.)
m (awk and shell are not the only scripting languages to support numbers and strings)
Line 3:
|tag=awk
}}
AWK is a small but powerful programming language that can process and convert text files. AWK is part of every [[Unix]]-derived system, where AWK and [[UNIX Shell]] are the only Unix scripting languages that support both numbers and strings.
 
Each AWK program consists of pattern-action statements. The program reads each input line, checks lines against patterns, and runs matching actions. For programs that never read input lines, the entire program can be one <code>BEGIN { ... }</code> block.