summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pbfields2
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
}