mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 55c823f89af1896bcff24281bcd8535640c9de0b
parent f3c6724830cc6100df6a8eebd2db5b6dd814935c
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Mon,  8 Aug 2016 13:32:43 +0200

mquote: needs := for empty strings

Diffstat:
mquote | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mquote b/mquote @@ -1,9 +1,9 @@ #!/bin/sh # mquote MSG - format MSG as a quotation -: ${from=$(mhdr -d -h x-original-from "$1")} -: ${from=$(mhdr -d -h from "$1")} -: ${from=Someone} +: ${from:=$(mhdr -d -h x-original-from "$1")} +: ${from:=$(mhdr -d -h from "$1")} +: ${from:=Someone} echo "$from wrote:" mshow -R "$1" |