Github messages for mblaze
 help / color / mirror / Atom feed
* [PR PATCH] mcom: quote sequence for mbnc and mrep
@ 2022-11-09 22:02 codesoap
  2022-11-09 23:43 ` leahneukirchen
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: codesoap @ 2022-11-09 22:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

There is a new pull request by codesoap against master on the mblaze repository

https://github.com/codesoap/mblaze master
https://github.com/leahneukirchen/mblaze/pull/231

mcom: quote sequence for mbnc and mrep
I was getting the "mrep: needs exactly one mail to reply to" error when trying to reply to messages, where the file was located in a directory with spaces. With this change, I was able to use `mrep` in such a case. I noticed the same code in `mbnc`, so I also applied the change there.

A patch file from https://github.com/leahneukirchen/mblaze/pull/231.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-231.patch --]
[-- Type: text/x-diff, Size: 744 bytes --]

From 4051d90ee5b6b0e5aa2b42d4d8c593fe935fbb39 Mon Sep 17 00:00:00 2001
From: codesoap <codesoap@mailbox.org>
Date: Wed, 9 Nov 2022 22:55:18 +0100
Subject: [PATCH] mcom: quote sequence for mbnc and mrep

---
 mcom | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mcom b/mcom
index d60070e..2096282 100755
--- a/mcom
+++ b/mcom
@@ -321,7 +321,7 @@ fi
 		) fi
 		;;
 	*mbnc*)
-		set -- $(mseq -- "$@")
+		set -- "$(mseq -- "$@")"
 		if [ "$#" -ne 1 ]; then
 			printf 'mbnc: needs exactly one mail to bounce\n' 1>&2
 			exit 1
@@ -344,7 +344,7 @@ fi
 		)
 		;;
 	*mrep*)
-		set -- $(mseq -- "$@")
+		set -- "$(mseq -- "$@")"
 		if [ "$#" -ne 1 ]; then
 			printf 'mrep: needs exactly one mail to reply to\n' 1>&2
 			exit 1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-11-11 21:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-09 22:02 [PR PATCH] mcom: quote sequence for mbnc and mrep codesoap
2022-11-09 23:43 ` leahneukirchen
2022-11-10  6:57 ` [PR PATCH] [Updated] " codesoap
2022-11-10  6:59 ` codesoap
2022-11-11 12:49 ` leahneukirchen
2022-11-11 14:04 ` [PR PATCH] [Updated] " codesoap
2022-11-11 14:06 ` codesoap
2022-11-11 21:27 ` [PR PATCH] [Closed]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).