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