Remove extra backslash that was causing an awk warning.
This commit is contained in:
parent
9e3c4068e4
commit
aca7f80a9b
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue