shithub: x

ref: 34e4cb86ff7e46c19965eb34336179d1feac993e
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