finally got these working

This commit is contained in:
rsc 2004-10-17 04:02:55 +00:00
parent 63853aa069
commit 47e0a2aa3c
2 changed files with 39 additions and 0 deletions

10
bin/"" Executable file
View file

@ -0,0 +1,10 @@
#!/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