home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d0xx / d092 / bawk.lha / Bawk / example3 < prev    next >
Encoding:
Text File  |  1987-08-22  |  79 b   |  4 lines

  1. BEGIN{strcpy RS,""}
  2. {printf "%d %d %s\n",NR,NF,$0}
  3. END{printf "total %d\n",NR}
  4.