plan9port/bin/""
2004-10-17 04:02:55 +00:00

10 lines
228 B
Bash
Executable file

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