summaryrefslogtreecommitdiff
path: root/rc/bin/""
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2016-01-07 15:04:56 -0500
committerstanley lieber <stanley.lieber@gmail.com>2016-01-07 15:04:56 -0500
commitd80e3a5d9581e8ace629373c18611721c7bf6fc7 (patch)
tree53a318ff4bd6f85dd8c4c1b0049aee7dffa770b2 /rc/bin/""
parentad8747310983ef011f7ce6211836121e029e48b5 (diff)
/rc/bin/": fix quoting bug (thanks, aiju and silasm)
Diffstat (limited to 'rc/bin/""')
-rwxr-xr-xrc/bin/""2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/"" b/rc/bin/""
index 99d88d79b..d5089583c 100755
--- a/rc/bin/""
+++ b/rc/bin/""
@@ -9,5 +9,5 @@ if(~ $#_x 0) {
}
echo ' ' $_x
-_x=`{ echo -n 'eval '; echo $_x | sed 's/^'$PROMPT'//'}
+_x=`{ echo -n 'eval '''; echo $_x | sed 's/^'$PROMPT'//; s/''/''''/g; s/$/''/'}
rc -c $"_x