ref: ff95357ba43430a608c71d9c27996df20d58961c 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