ref: 20ecadc4bee20598de971afda585621f6d89471b dir: /vt/
#!/bin/rc rpath=`{x/path -P} cmd=`{awk 'BEGIN{ x = ENVIRON["*"] if(length(x) == 0) x = "$SHELL" printf("$SHELL -c ''cd %s; %s''", ENVIRON["rpath"], x) }'} vt ssh -r `{x/path -l} $"cmd