11.10. Group Listing of awk Functions and Commands

 < Day Day Up > 

The following table classifies awk functions and commands.

Function type

Functions or commands

Arithmetic

atan2

cos

exp

int

log

 

rand

sin

sqrt

srand

 

String

asorta

asortia

gensuba

gsub

index

 

length

match

split

sprintf

strtonuma

 

sub

substr

tolower

toupper

 

Control Flow

break

continue

do/while

exit

for

 

if/else

return

while

  

I/O

close

fflushb

getline

next

nextfileB

 

print

printf

   

Programming

extensionb

delete

function

system

 

a Available in gawk.

b Available in Bell Labs awk and gawk.


The following functions are specific to gawk.

Function type

Functions or commands

Bit Manipulation

and

compl

lshift

or

rshift

 

xor

    

Time

mktime

strftime

systime

  

Translation

bindtextdomain

dcgettext

dcngettext

  


     < Day Day Up > 


    Unix in a Nutshell
    Unix in a Nutshell, Fourth Edition
    ISBN: 0596100299
    EAN: 2147483647
    Year: 2005
    Pages: 201

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net