]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/""
add rc scripts ", "" and g from rsc
[plan9front.git] / rc / bin / ""
1 #!/bin/rc
2
3 PROMPT='[^      ]*%+[   ]+'
4
5 _x = `{" $* | tail -1}
6 if(~ $#_x 0) {
7         echo no such command found
8         exit notfound
9 }
10
11 echo '  ' $_x
12 _x=`{ echo -n 'eval '; echo $_x | sed 's/^'$PROMPT'//'}
13 rc -c $"_x