b4-am-mbox (183B)
1 #!/usr/bin/env bash 2 3 mbox=$(mktemp) 4 curl -sL "$1" > "$mbox" 5 msgid=$(grep -i ^message-id "$mbox" | head -n1 | sed -E -n 's,.*<([^>]+)>.*,\1,p') 6 b4 am "$msgid" -m "$mbox" 7 rm -f "$mbox"
citadelMy dotfiles, scripts and nix configs | |
git clone git://jb55.com/citadel | |
Log | Files | Refs | README | LICENSE |