Code listing gsub for loop article.append(addInsetCodeListing(["for (i=2; i<=3; i++ ) {", " gsub(\"^\\"|\\"$\", \"\", $i);", " gsub(\"\\"\\", \"\\"\", $i);", "}"])) Code listing while loop article.append(addInsetCodeListing([" while ( $NF ~ /^".*["]$/ ) {", " getline x;", " $0 = $0 "\n" x;", "}"])) Code listing officers article.append(addInsetCodeListing(["Office", "First name", "Last name", "Company name", "Address", "City", "County", "State", "Zip code", "Phone 1", "Phone 2", "Email address", "Web address"]))