summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Scorciapino <konrad@scorciapino.com>2011-03-23 16:21:20 -0300
committerKonrad Scorciapino <konrad@scorciapino.com>2011-03-23 16:21:20 -0300
commite37567f20588e4075b06efd8e29d29f70338ad8c (patch)
treea66b65177e9f78fc207201a030e6cd68c4f1261f
parent703ae92a5c0acdbea5384b36b78ea341e0b07da1 (diff)
parente04e2b521cc8baeba3641d7ddee0c9cd51ddea1b (diff)
Merge branch 'master' of git://notmuchmail.org/git/notmuch-wiki
-rw-r--r--remoteusage.mdwn2
1 files changed, 1 insertions, 1 deletions
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}
}