shithub: riscv

Download patch

ref: d80e3a5d9581e8ace629373c18611721c7bf6fc7
parent: ad8747310983ef011f7ce6211836121e029e48b5
author: stanley lieber <stanley.lieber@gmail.com>
date: Thu Jan 7 10:04:56 EST 2016

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

--- a/rc/bin/""
+++ b/rc/bin/""
@@ -9,5 +9,5 @@
 }
 
 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