git: 9front

Download patch

ref: 4b6b12cd48e0cb1adb980546faaf1a343f21c33c
parent: 87db9c3769d0012481f6382edcb48855bcf7482c
author: stanley lieber <stanley.lieber@gmail.com>
date: Thu Nov 7 09:01:42 EST 2013

/rc/bin/", /rc/bin/"": handle the venerable ; prompt

--- a/rc/bin/"
+++ b/rc/bin/"
@@ -5,7 +5,7 @@
 if(test -r /mnt/acme/acme/body)
 	bind /mnt/acme/acme/body /dev/text
 
-PROMPT='[^ 	]*%[ 	]+'
+PROMPT='[^ 	]'*'(%|;)[ 	]+'
 
 fn cmds {
 	grep '^'$PROMPT'[^"]' /dev/text | sed 's/^/	/'
--- a/rc/bin/""
+++ b/rc/bin/""
@@ -1,6 +1,6 @@
 #!/bin/rc
 
-PROMPT='[^ 	]*%+[ 	]+'
+PROMPT='[^ 	]*(%|;)+[ 	]+'
 
 _x = `{" $* | tail -1}
 if(~ $#_x 0) {
--