1*8dc592d3Sespie# first line of input is the variable declaration, don't touch that 2*8dc592d3Sespie2,$ { 3*8dc592d3Sespie# XXX beware of the order ! we have to quote \ and " before inserting \n" 4*8dc592d3Sespie s/\\/\\\\/g 5*8dc592d3Sespie s/"/\\"/g 6*8dc592d3Sespie s/^/ "/ 7*8dc592d3Sespie s/$/\\n"/ 8*8dc592d3Sespie} 9*8dc592d3Sespie# and append a ; at the end ! 10*8dc592d3Sespie$s/$/;/ 11