On Fri, 19 Nov 2010, Austin Clements wrote:
> Unfortunately, expansion *is* performed by the remote shell, which is why
> your shell quoting approach works (and is necessary).  There's really no way
> around this, since the ssh client simply joins all of its trailing arguments
> with spaces and sends this single string to the ssh server, which exec()s
> $SHELL -c <string>.

Yes, your're right. I was confused by ssh(1) which says that server
executes either login shell or the command.

-M
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to