From 2e80eb2b8e6de3382ce2203326f70dcc6169a0db Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Tue, 15 May 2012 11:35:33 -0400 Subject: Quote fields with <> chars (again). --- bin/pbfields | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-24-g4f1b