ref: 7d45ee4f6adc378fb6244c73abe8e46fe636beae
dir: /rc/bin/""/
#!/bin/rc
PROMPT='[^ ]*(%|;)+[ ]+'
_x = `{" $* | tail -1}
if(~ $#_x 0) {
echo no such command found
exit notfound
}
echo ' ' $_x
_x=`{ echo -n 'eval '''; echo $_x | sed 's/^'$PROMPT'//; s/''/''''/g; s/$/''/'}
rc -c $"_x