Sign in
plan9port
/
plan9
/
93eb807ac2b7c23cae2b0999957532b5b666f437
/
.
/
bin
/
""
blob: 2b1f74446f1c4f17e1c73fc17f9dc090509100ee [
file
] [
log
] [
blame
]
rsc
47e0a2a
2004-10-17 04:02:55 +0000
[
diff
] [
blame
]
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