1*9a7741deSElliott Hughes{ print NR, $1, $1+$1, $1-$1, $1 * $1 } 2*9a7741deSElliott Hughes{ print NR, $1/NR, $1 % NR } 3*9a7741deSElliott Hughes# { print NR, $1++, $1--, --$1, $1-- } # this depends on order of eval of args! 4*9a7741deSElliott Hughes{ print NR, -$1 } 5*9a7741deSElliott Hughes$1 > 0 { print NR, $1 ^ 0.5 } 6*9a7741deSElliott Hughes$1 > 0 { print NR, $1 ** 0.5 } 7