shithub: x

ref: 94c70b22b594dbd2dd9ca4fdf72c027fb4289286
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