verify numbers with pn

This commit is contained in:
noneofyourbusiness 2021-05-27 19:07:35 +02:00 committed by Stacy Harper
parent e444553ae4
commit 3599be95f4
No known key found for this signature in database
GPG key ID: 5BAC92328B7C5D65
4 changed files with 33 additions and 12 deletions

View file

@ -18,7 +18,6 @@ LOGFILE="$XDG_DATA_HOME"/sxmo/modem/modemlog.tsv
prepare_contacts_list() {
cut -f3 |
sed "s/^0\([0-9]\{9\}\)$/${DEFAULT_NUMBER_PREFIX:-0}\1/" |
tac |
awk '!($0 in a){a[$0]; print}' |
sed '/^[[:space:]]*$/d' |