From 317c8acf1e27029fa3d1d5d5e1c47b8237dfbb33 Mon Sep 17 00:00:00 2001 From: gutmet Date: Fri, 2 Apr 2021 00:07:56 +0200 Subject: [PATCH] more verbosity --- bandcamping | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bandcamping b/bandcamping index 40bed35..cf264be 100755 --- a/bandcamping +++ b/bandcamping @@ -11,12 +11,14 @@ touch "$visited" { curl "https://bandcamp.com/tag/$tag?tab=all_releases&s=random" 2>/dev/null | grep -oP "https://[a-zA-Z0-9\-äöü]*?.bandcamp.com/album/.*?(?=")" | while read album; do if grep -q "$album" "$visited"; then continue - fi + fi + echo "$album" surf "$album" echo -n "Like? " read -u 3 like if [ "$like" == "y" ]; then echo "$album" >> "$liked" + echo "added to $liked" fi echo "$album" >> "$visited" done; } 3<&0