9 lines
184 B
Bash
Executable File
9 lines
184 B
Bash
Executable File
#!/bin/sh
|
|
if [ -z "$*" ]; then
|
|
exec munsubscribe .
|
|
else
|
|
for url in $(mshow -qh list-unsubscribe "$@" | xurls -m http); do
|
|
curl -L -w '%{http_code}' -s -o /dev/null "$url"
|
|
done
|
|
fi
|