Remove extra backslash that was causing an awk warning.

This commit is contained in:
Francois Gouget 2005-11-10 11:07:20 +00:00 committed by Alexandre Julliard
parent 9e3c4068e4
commit aca7f80a9b
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ BEGIN {
i = 1
len = length(array[word]) + 1
while (i < len) {
if (substr(array[word],i,1) == "\'")
if (substr(array[word],i,1) == "'")
printf "'\\'',"
else
printf "'%s',", substr(array[word],i,1)

View File

@ -51,7 +51,7 @@ BEGIN {
i = 1
len = length(array[word]) + 1
while (i < len) {
if (substr(array[word],i,1) == "\'")
if (substr(array[word],i,1) == "'")
printf "'\\'',"
else
printf "'%s',", substr(array[word],i,1)