From 898fab5994b1bf77eff72962aada243b7abc647c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Wei=C3=9Fl?= Date: Wed, 10 Nov 2010 16:52:14 +0100 Subject: [PATCH] fix quoting issues --- muttjump | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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 <