# Escape newlines inside quoted strings. # Copyright (c) 1992-2012 by Hamilton Laboratories. All rights reserved. /^[^'#]*'[^']*$/{ /^[^"]*'/{ :singlequote s/$/\\/ n /'/ ! b singlequote } } /^[^"#]*"[^"]*$/{ /^[^']*"/{ :doublequote s/$/\\/ n /'/ ! b doublequote } } |