...

/

AWK built-in functions

AWK built-in functions

We'll cover the following...

AWK has the mathematical functions like exp, log, sqrt, sin, cos, atan2, etc. built-in, other built-in functions are:

  • length the length of its argument taken as a string, or of$0 if no argument.
  • rand random number between 0 and 1
  • srand sets seed for rand and returns the previous seed.
...