Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As a rule, `printf %q` or `${var@Q}` are very useful when building up quoted command strings.

But your main problem is that `REMOTE_SHELL` is a string, when you need an array. Though I suppose you could make it a string if you used `eval` around its whole use.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: