On Fri, 02 Feb 2018 10:57:40 +0800,
Michael Albinus wrote:

Hello Michael,

> Chris Zheng <chriszhen...@gmail.com> writes:
> 
> 
> Hi Chris,
> 
> 
> The backslashes in the code snippet above are needed to mask the
> quotation mark in the string. They do not arrive the target shell. Try
> 
> M-& echo xyzzy | "gzip" | "gzip -d" RET

I thought about this command, and the results are

M-& echo xyzzy | "gzip" | "gzip -d" RET
⇒ Not a command error for "gzip -d".

M-& echo xyzzy | "gzip" | "gzip" -d RET
⇒ Success.

So the best approach is to quote only the program name. Thank you for
the reply and the clarification of backslashes. 

Best wishes,

Chris

> Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to