diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-08-08 13:32:43 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-08-08 13:32:43 +0200 |
commit | 55c823f89af1896bcff24281bcd8535640c9de0b (patch) | |
tree | 444c0bb5e46d6f60f1da89752b2b6b2b39d313a1 /mquote | |
parent | f3c6724830cc6100df6a8eebd2db5b6dd814935c (diff) | |
download | mblaze-55c823f89af1896bcff24281bcd8535640c9de0b.tar.gz mblaze-55c823f89af1896bcff24281bcd8535640c9de0b.tar.xz mblaze-55c823f89af1896bcff24281bcd8535640c9de0b.zip |
mquote: needs := for empty strings
Diffstat (limited to 'mquote')
-rwxr-xr-x | mquote | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mquote b/mquote index 1a68f50..440a3ef 100755 --- 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" | |