From 28362a242752804b0cea76dab20c908ef171cb90 Mon Sep 17 00:00:00 2001 From: Sergio Agostinho Date: Thu, 11 Mar 2021 10:51:57 +0000 Subject: [PATCH] Fix " errors on macOS. --- bing-wallpaper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bing-wallpaper.sh b/bing-wallpaper.sh index f352efc..58388df 100755 --- a/bing-wallpaper.sh +++ b/bing-wallpaper.sh @@ -108,6 +108,7 @@ mkdir -p "${PICTURE_DIR}" read -ra urls < <(curl -sL $PROTO://www.bing.com | \ grep -Eo "url\(.*?\)" | \ sed -e "s/url(\([^']*\)).*/http:\/\/bing.com\1/" | \ + grep -v '"' | \ transform_urls) if [ -n "$BOOST" ]; then