1 #!/usr/local/plan9/bin/rc 2 3 PROMPT='[^ ]*[%;$#][ ]+' 4 5 " $* | tail -1 | tee >{wc -l >/tmp/qq.$pid} | tee /dev/stderr | 9sed 's/^ '$PROMPT'//' | rc 6 if(~ `{cat /tmp/qq.$pid} 0){ 7 echo no such command found 8 exit notfound 9 } 10 exit 0