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