fixed weird formatting in catchall case

removed debugging prints

	modified:   bt
This commit is contained in:
Alexander Bocken 2020-07-06 16:19:11 +02:00
parent 234e781b6b
commit 47f83247e4

1
bt
View File

@ -205,7 +205,6 @@ case $choice in
echo "$choice" >> "$BLACKLIST"
fi;;
*)
echo "$choice"
dev_no=$( echo "$paired_devices" | nl | grep -P "[0-9]+\t$choice$" | awk '{print $1}')
[ "$dev_no" != "" ] && dev_id=$( echo "$bt_IDS" | nl | grep -P "^.*$dev_no\t" | awk '{print $2}')
if [ -n "$dev_id" ]; then