aboutsummaryrefslogtreecommitdiff
path: root/bin/quote2
blob: e31e3de18f584d46e1b0434e84813b78ac396c46 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/local/plan9/bin/rc

cmd = `{quote1 $* | tail -1}
if (~ $#cmd 0) {
	echo no such command found >[1=2]
	exit notfound
}

echo '	' $cmd >[1=2]
rc -c $"cmd