diff --git "a/rc/bin/\"" "b/rc/bin/\"" index 56bdaba77..557bedafa 100755 --- "a/rc/bin/\"" +++ "b/rc/bin/\"" @@ -5,7 +5,7 @@ rfork en if(test -r /mnt/acme/acme/body) bind /mnt/acme/acme/body /dev/text -PROMPT='[^ ]*%[ ]+' +PROMPT='[^ ]'*'(%|;)[ ]+' fn cmds { grep '^'$PROMPT'[^"]' /dev/text | sed 's/^/ /' diff --git "a/rc/bin/\"\"" "b/rc/bin/\"\"" index 0db19cde5..99d88d79b 100755 --- "a/rc/bin/\"\"" +++ "b/rc/bin/\"\"" @@ -1,6 +1,6 @@ #!/bin/rc -PROMPT='[^ ]*%+[ ]+' +PROMPT='[^ ]*(%|;)+[ ]+' _x = `{" $* | tail -1} if(~ $#_x 0) {