1 2 3 4 5 6 7 8 9 10
#!/usr/local/plan9/bin/rc cmd = `{" $* | tail -1} if (~ $#cmd 0) { echo no such command found >[1=2] exit notfound } echo ' ' $cmd >[1=2] rc -c $"cmd