/rc/bin/": fix quoting bug (thanks, aiju and silasm)

This commit is contained in:
stanley lieber 2016-01-07 15:04:56 -05:00
parent ad87473109
commit d80e3a5d95

View file

@ -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