summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pbfields1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pbfields b/bin/pbfields
index 2b9b927..662c807 100755
--- a/bin/pbfields
+++ b/bin/pbfields
@@ -123,6 +123,7 @@ function qexpand (v)
{
if(v ~ /[$']/){
gsub(/["`]/, "\\\\&", v)
+ gsub(/[$][(]/, "\\$(", v)
return sprintf("\"%s\"", v)
}else if(v ~ /[ <>`"]/){
return sprintf("'%s'", v)