From 10d5b7b5e2fe2aa35f8b946be15536045aa73dfe Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 27 Oct 2009 19:43:37 +0100 Subject: [PATCH] deal with single quotes in from/to headers Signed-off-by: martin f. krafft --- tg-mail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tg-mail.sh b/tg-mail.sh index f5c0cf4..6a008b4 100644 --- a/tg-mail.sh +++ b/tg-mail.sh @@ -38,7 +38,7 @@ patchfile="$(mktemp -t tg-mail.XXXXXX)" $tg patch "$name" >"$patchfile" -header="$(sed -e '/^$/,$d' "$patchfile")" +header="$(sed -e '/^$/,$d' -e "s,','\\\\'',g" "$patchfile")" -- 2.30.2