From 67a5a251634d141e39d8dcb30e9033dcc40343a3 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Sat, 12 Sep 2020 22:24:17 -0500 Subject: [PATCH] Omit empty lines from youtube history file --- scripts/appscripts/sxmo_youtube.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/appscripts/sxmo_youtube.sh b/scripts/appscripts/sxmo_youtube.sh index fc78e24..3d9a51f 100755 --- a/scripts/appscripts/sxmo_youtube.sh +++ b/scripts/appscripts/sxmo_youtube.sh @@ -14,7 +14,7 @@ youtubesearch() { searchmenu() { HISTORY="$( - tac "$HISTORY_FILE" | nl | sort -uk 2 | sort -k 1 | cut -f 2 | + tac "$HISTORY_FILE" | nl | sort -uk 2 | sort -k 1 | cut -f 2 | grep . | sed "s#^#History: #g" )"