From d2d3e9e231a1a43edcc7df5c09571ca15b2a3fd4 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 11 Jun 2021 11:42:18 +0100 Subject: [PATCH] ssh-quoting: Fix odd line breaks --- content/ssh-quoting.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/content/ssh-quoting.md b/content/ssh-quoting.md index 0626c096..6d6b32a1 100644 --- a/content/ssh-quoting.md +++ b/content/ssh-quoting.md @@ -62,8 +62,7 @@ original working directory. The second example was this: - $ ssh user@machine.local bash -lc - "pwd;cd /tmp;pwd" + $ ssh user@machine.local bash -lc "pwd;cd /tmp;pwd" /home/user /tmp @@ -73,8 +72,7 @@ Following the logic above, this ends up as if you'd run this on the server: The third example was this: - $ ssh user@machine.local bash -lc "cd - /tmp;cd /tmp;pwd" + $ ssh user@machine.local bash -lc "cd /tmp;cd /tmp;pwd" /tmp And this is as if you'd run: -- 2.30.2