2021-08-17 10:04:19 +02:00
|
|
|
#!/bin/sh
|
|
|
|
if [ -z "$*" ]; then
|
|
|
|
exec munsubscribe .
|
|
|
|
else
|
2021-08-23 09:54:41 +02:00
|
|
|
for url in $(mshow -qh list-unsubscribe "$@" | xurls -m http); do
|
|
|
|
curl -L -w '%{http_code}' -s -o /dev/null "$url"
|
2021-08-17 10:04:19 +02:00
|
|
|
done
|
|
|
|
fi
|