blob: 09766e38fbdf8725ca42e5e2eaacef1c1d8b4451 [file] [log] [blame]
{ print NR, $1, $1+$1, $1-$1, $1 * $1 }
{ print NR, $1/NR, $1 % NR }
# { print NR, $1++, $1--, --$1, $1-- } # this depends on order of eval of args!
{ print NR, -$1 }
$1 > 0 { print NR, $1 ^ 0.5 }
$1 > 0 { print NR, $1 ** 0.5 }