From: Konrad Scorciapino Date: Wed, 23 Mar 2011 19:21:20 +0000 (-0300) Subject: Merge branch 'master' of git://notmuchmail.org/git/notmuch-wiki X-Git-Url: https://git.notmuchmail.org/git?p=notmuch-wiki;a=commitdiff_plain;h=e37567f20588e4075b06efd8e29d29f70338ad8c;hp=703ae92a5c0acdbea5384b36b78ea341e0b07da1 Merge branch 'master' of git://notmuchmail.org/git/notmuch-wiki --- diff --git a/remoteusage.mdwn b/remoteusage.mdwn index 0298dd9..1ecd3aa 100644 --- a/remoteusage.mdwn +++ b/remoteusage.mdwn @@ -81,7 +81,7 @@ be necessary in the furture. shift # we need to a little sanitizing of msg ids so the shell # doesn't mangle them - ARGS=`echo $@ | sed 's/[\\$\\*\\!]/\\\&/g'` + printf -v ARGS "%q " "$@" $SSH_BIN $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN ${CMD} ${ARGS} }