From 9d280aa8a30a22e57db505450e9586346ae9943c Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 5 Feb 2019 09:49:59 +0100 Subject: mcom: do_mime: fix for loop quoting --- mcom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mcom') diff --git a/mcom b/mcom index 74d57ee..f86edea 100755 --- a/mcom +++ b/mcom @@ -77,9 +77,9 @@ do_mime() { ( IFS=$NL msed '/attach/d' "$draft" - for f in "$(mhdr -M -h attach "$draft")"; do + for f in $(mhdr -M -h attach "$draft"); do printf '#%s %s\n' \ - "$(file -Lbi $f | sed 's/ //g')" \ + "$(file -Lbi "$f" | sed 's/ //g')" \ "$f" done ) | mmime >"$draftmime" -- cgit 1.4.1