diff options
author | Justin Davis <jrcd83@gmail.com> | 2012-05-15 17:35:33 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2012-05-15 17:35:33 +0200 |
commit | 2e80eb2b8e6de3382ce2203326f70dcc6169a0db (patch) | |
tree | 54bf07ea4485464c0b42d4b508d134f4e2063f73 | |
parent | a47944ceac00c4ca3247df0ef9906f572afe1900 (diff) | |
download | genpkg-2e80eb2b8e6de3382ce2203326f70dcc6169a0db.tar.gz genpkg-2e80eb2b8e6de3382ce2203326f70dcc6169a0db.tar.xz |
Quote fields with <> chars (again).
-rwxr-xr-x | bin/pbfields | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pbfields b/bin/pbfields index ca65c2a..c5f815e 100755 --- a/bin/pbfields +++ b/bin/pbfields @@ -121,6 +121,6 @@ function bashquote (val) gsub(/[$"`]/, "\\\\&", $2) return sprintf("\"%s\"", val) } - if(val ~ / /) return sprintf("'%s'", val) + if(val ~ /[ <>]/) return sprintf("'%s'", val) return val } |