From a13cd7dde62918a6172f429b7b9812c85ccf5f16 Mon Sep 17 00:00:00 2001 From: Jenga Phoenix Date: Sat, 30 Mar 2019 20:14:57 -0500 Subject: [PATCH] Fixed search bug --- wyrics | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wyrics b/wyrics index 4214e65..ba31db3 100755 --- a/wyrics +++ b/wyrics @@ -92,8 +92,8 @@ function search_parse { | sed 's/.*href=\"//' \ | sed 's/\" class.*//')" local title="$(echo "$line" \ - | sed 's%.*\" >%%' \ - | sed 's%.*%%')" + | sed 's%.*">%%' \ + | sed 's%%%')" if echo "$title" | grep "http" > /dev/null; then i=$(subtract $i 1) @@ -221,8 +221,8 @@ case "$1" in lyrics "$url" ;; - *) - usage - ;; +# *) +# usage +# ;; esac