home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 6 / FreshFish_September1994.bin / bbs / gnu / gawk-2.15.5-src.lha / GNU / src / amiga / gawk-2.15.5 / test / plus-minus < prev    next >
Encoding:
Text File  |  1993-10-20  |  191 b   |  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.