chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa514d2
)
ssh-quoting: Fix odd line breaks
author
Colin Watson
<cjwatson@debian.org>
Fri, 11 Jun 2021 10:42:18 +0000
(11:42 +0100)
committer
Colin Watson
<cjwatson@debian.org>
Fri, 11 Jun 2021 10:42:18 +0000
(11:42 +0100)
content/ssh-quoting.md
patch
|
blob
|
history
diff --git
a/content/ssh-quoting.md
b/content/ssh-quoting.md
index 0626c096390dac92192cbc470b923c6b8577b037..6d6b32a18909537257d6e1b8e9c09420873266eb 100644
(file)
--- 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: