home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / compcomp / awk / substr.awk < prev    next >
Encoding:
Text File  |  1990-02-08  |  114 b   |  5 lines

  1. # Abbreviate the country names to their first three characters
  2. # AKW p43
  3.  
  4. { $1 = substr($1, 1, 3); print $0 }
  5.