From: Johannes Weißl Date: Wed, 10 Nov 2010 15:52:14 +0000 (+0100) Subject: fix quoting issues X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/898fab5994b1bf77eff72962aada243b7abc647c?ds=sidebyside;hp=ea9f6989b42d289af2da02c412d53fb532e4a908 fix quoting issues --- diff --git a/muttjump b/muttjump index e7b5cdb..d32a8ae 100755 --- a/muttjump +++ b/muttjump @@ -54,6 +54,10 @@ function die () { exit 1 } +function quote () { + echo \'${1//\'/\'\\\'\'}\' +} + # Check command-line arguments and STDIN if tty -s || [ $# -ne 0 ] ; then cat >&2 <