X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=blobdiff_plain;f=remoteusage.mdwn;h=7a219920138534f6faeee098e81e79c7b5bf9d01;hp=24d28ef043a269b241658ebed76f20de7d983061;hb=d6b6189145c19e9ed965cc75536ed239120835c2;hpb=b3de4a8c0ee9beda92ef391c6e916df8b19624f3 diff --git a/remoteusage.mdwn b/remoteusage.mdwn index 24d28ef..7a21992 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'` + ARGS=`echo $@ | sed 's/[\\$\\*\\!]/\\\&/g'` $SSH_BIN $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN ${CMD} ${ARGS} }