From 073ed55216538dbc2d076a524fd511373a762c8a Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 9 Sep 2021 19:42:22 +0600 Subject: [PATCH] list: remove needless printf --- sxbm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sxbm b/sxbm index 99ac182..f6f5f42 100755 --- a/sxbm +++ b/sxbm @@ -132,8 +132,7 @@ bm_list() { QUERY_TITLE="${QUERY_TITLE%$TITLE_STRICT }" if [ -n "$QUERY_TAG" ] && [ -n "$QUERY_TITLE" ]; then - printf '%s\n%s\n' \ - "$(__awk_search "$QUERY_TAG")" "$(__awk_search "$QUERY_TITLE")" | + { __awk_search "$QUERY_TAG" & __awk_search "$QUERY_TITLE"; } | sort | uniq -d elif [ -n "$QUERY_TITLE" ] && [ -z "$QUERY_TAG" ]; then __awk_search "$QUERY_TITLE"