shithub: x

ref: 267ce690411b7d536cef42ccdc96220ea800ad06
dir: /run/

View raw version
#!/bin/rc
rfork e
rpath=`{x/path -P}
cmd=$"*
cmd=`{awk 'BEGIN{printf("sh -c ''cd %s; %s''", ENVIRON["rpath"], ENVIRON["cmd"])}'}
ssh `{x/path -l} $"cmd