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
|
i = 1
|
||||||
len = length(array[word]) + 1
|
len = length(array[word]) + 1
|
||||||
while (i < len) {
|
while (i < len) {
|
||||||
if (substr(array[word],i,1) == "\'")
|
if (substr(array[word],i,1) == "'")
|
||||||
printf "'\\'',"
|
printf "'\\'',"
|
||||||
else
|
else
|
||||||
printf "'%s',", substr(array[word],i,1)
|
printf "'%s',", substr(array[word],i,1)
|
||||||
|
|
|
@ -51,7 +51,7 @@ BEGIN {
|
||||||
i = 1
|
i = 1
|
||||||
len = length(array[word]) + 1
|
len = length(array[word]) + 1
|
||||||
while (i < len) {
|
while (i < len) {
|
||||||
if (substr(array[word],i,1) == "\'")
|
if (substr(array[word],i,1) == "'")
|
||||||
printf "'\\'',"
|
printf "'\\'',"
|
||||||
else
|
else
|
||||||
printf "'%s',", substr(array[word],i,1)
|
printf "'%s',", substr(array[word],i,1)
|
||||||
|
|
Loading…
Reference in New Issue