aboutsummaryrefslogtreecommitdiff
path: root/bin/quote2
blob: c77da34daaef311a89b61b19bffe5820f7461752 (plain)
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