home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD2.bin / bbs / gnu / gawk-2.15.5-src.lha / gawk-2.15.5 / test / plus-minus < prev    next >
Text File  |  1993-10-20  |  191b  |  9 lines

  1. {
  2.          if ($1 == "-")
  3.                 print "minus"
  4.          if ($1 == "+")
  5.                 print "plus"
  6.          if (($1 != "-") && ($1 != "+"))
  7.                 print "something else"
  8. }
  9.