about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-01-08 11:09:55 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-01-08 11:09:55 +0100
commit6705b3ee2956782a7267d7c4be82c3cbae40c7ed (patch)
treec03b9ec839a02a479a7303268398c3ebca1e636d /mcom
parent3da5f0e391dadb0d7211605dcddbaa67a4a610d3 (diff)
downloadmblaze-6705b3ee2956782a7267d7c4be82c3cbae40c7ed.tar.gz
mblaze-6705b3ee2956782a7267d7c4be82c3cbae40c7ed.tar.xz
mblaze-6705b3ee2956782a7267d7c4be82c3cbae40c7ed.zip
mfwd: prefix Subject with "Fwd:"
Idea by Larry Hynes.  Although no classical mail clients use Fwd:
prefix, it has been around for some time.
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcom b/mcom
index f4b65d9..e0aeaf7 100755
--- a/mcom
+++ b/mcom
@@ -282,7 +282,7 @@ fi
 				commajoin | sed 's/^/Cc: /'
 			printf '%s' "$hdrs" | mhdr -M -h bcc /dev/stdin |
 				commajoin | sed 's/^/Bcc: /'
-			COLUMNS=10000 mscan -f 'Subject: [%f] %s' "$@" 2>/dev/null | sed 1q
+			COLUMNS=10000 mscan -f 'Subject: Fwd: [%f] %s' "$@" 2>/dev/null | sed 1q
 			printf '%s\n' "$hdrs" | awk '{ print }' |
 				msed "/to/d; /cc/d; /bcc/d" /dev/stdin
 		} | msed "/cc/a//; /bcc/a//; /from/a/$default_from/" /dev/stdin | sed '/^$/d'