mquote: needs := for empty strings

pull/2/head
Christian Neukirchen 8 years ago
parent f3c6724830
commit 55c823f89a

@ -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" |

Loading…
Cancel
Save