21.07.2015 Views

GAWK: Effective AWK Programming

GAWK: Effective AWK Programming

GAWK: Effective AWK Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7: Arrays in awk 129arrays use the values. Similarly, when copying the indices from data to ind, there is onlyone copy of the actual index strings.We said previously that comparisons are done using gawk’s “usual comparison rules.”Because IGNORECASE affects string comparisons, the value of IGNORECASE also affects sortingfor both asort and asorti. Caveat Emptor.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!