From cfb0d7986d284f1e8d14326a8ee43c7cab8e70fc Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 20 Jul 2016 14:47:44 +0200 Subject: [PATCH] mless: more specific pattern for mshow mime dividers --- mless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mless b/mless index d703a6b..0f02078 100755 --- a/mless +++ b/mless @@ -11,7 +11,7 @@ BEGIN { hdr = 1 } /^$/ { hdr = 0 } hdr && /^From:/ { print so(fg(119, $0)); next } hdr { print fg(120, $0); next } -/^---.*---/ { print fg(242, $0); next } +/^--- .* ---/ { print fg(242, $0); next } /^>/ { print fg(151, $0); next } { print }' exit $?