sed & awk, 2nd edition by Dale Dougherty & Arnold Robbins Here are the changes made in the 1/99 reprint: {221} The second code block, fourth line read: for (j - i; ARRAY[j-1] > ARRAY[j]; --j) { but now reads: for (j = i; (j-1) in ARRAY && ARRAY[j-1] > (221) The fourth paragraph, third line ending with "elements are swapped." A footnote was added: "We have to test that j-1 in ARRAY, first, to make sure we don't fall off the front end of the array." Note: "j-1" and "ARRAY" are bold.