configuration/local/bin/notmuch-abook.sh

6 lines
173 B
Bash
Raw Normal View History

2017-05-19 17:07:11 +02:00
#!/bin/sh
notmuch address --output=recipients --output=sender --deduplicate=address from:'*'"$*"'*' OR to:'*'"$*"'*' \
| grep -i "$*" \
| grep -v noreply \
| sort | uniq