in reply to Re^4: safely passing args through ssh
in thread safely passing args through ssh
The problem you stated: "what's a good way of encoding ... so that it will survive an ssh call?"
Where "D" is the shell's literal parser and "s" is an arbitrary shell command, you want a function "E" that exhibits the following behaviour:
s = D(E(s)) = D(D(E(s))) = D(D(D(E(s)))) etc
but there is none.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: safely passing args through ssh
by perl5ever (Pilgrim) on Jul 26, 2011 at 14:56 UTC | |
by ikegami (Patriarch) on Jul 26, 2011 at 18:03 UTC |