RosettaCodeData/Task/Exponentiation-operator/AWK/exponentiation-operator-3.awk

3 lines
119 B
Awk

And if you want to use locales for decimal separator, you have tu use -N option :
$ gawk -N '{ printf("%f\n",$1^$2) }'