diff options
Diffstat (limited to 'rc/bin/""')
| -rwxr-xr-x | rc/bin/"" | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rc/bin/"" b/rc/bin/"" new file mode 100755 index 000000000..0db19cde5 --- /dev/null +++ b/rc/bin/"" @@ -0,0 +1,13 @@ +#!/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'//'} +rc -c $"_x |
