From Webster's 1913 dictionary: (see http://www.bibliomania.com/Reference/Webster/index.html):

(Awk) a. [OE. auk, awk (properly) turned away; (hence) contrary, wrong, from Icel. öfigr, öfugr, afigr, turning the wrong way, fr. af off, away; cf. OHG. abuh, Skr. apac turned away, fr. apa off, away + a root ak, a&uor;k, to bend, from which come also E. angle, anchor.]

  1. Odd; out of order; perverse. [Obs.]
  2. Wrong, or not commonly used; clumsy; sinister; as, the awk end of a rod [Obs.] Golding.
  3. Clumsy in performance or manners; unhandy; not dexterous; awkward. [Obs. or Prov. Eng.]

awk -- basic usage

specific lines within a file

standard i/o

fields in awk

records in awk

passing parameters

more on parameters

a bit of arithmetic