commit 29ba6bebe2598e583ca57a88cb41eb2e9b6eb048 parent 896b3ec6263b600973d2e3af2ecc8413c1746fa9 Author: William Casarin <jb55@jb55.com> Date: Thu, 12 Nov 2020 12:24:52 -0800 bin/msgid: allow email arg Diffstat:
M | bin/msgid | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/msgid b/bin/msgid @@ -1,4 +1,5 @@ #!/usr/bin/env bash +email=${1:-"jb55@jb55.com"} ts=$(date +'%s.%N') -printf "<%s-jb55@jb55.com>\n" "$ts" +printf "<%s-%s>\n" "$ts" "$email"