Skip to main content
4 events
when toggle format what by license comment
Dec 19, 2018 at 14:47 comment added Tim Kennedy Yeah. I would really love to know there the 5 is going in the first two tests. Especially the second where it's quoted to one level. I guess the remote shell is eating those quotes before it gets to sh. But I still don't get where the 5 is going. If I run sh -c echo 5, the 5 is nowhere to be seen, either. But sh -c 'echo 5' does what you expect and echoes 5.
Dec 19, 2018 at 13:59 vote accept Hermann
Dec 19, 2018 at 13:59 comment added Hermann It does not help me in actually solving the problem I encounter, but I am accepting this answer as it shortly explains what is going on.
Dec 18, 2018 at 19:15 history answered Tim Kennedy CC BY-SA 4.0