~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to test/plus-minus

  • Committer: Arnold D. Robbins
  • Date: 2010-07-16 09:41:09 UTC
  • Revision ID: git-v1:8c042f99cc7465c86351d21331a129111b75345d
Tags: gawk-3.0.0
Move to gawk-3.0.0.

Show diffs side-by-side

added added

removed removed

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