Omit empty lines from youtube history file

master
Miles Alan 4 years ago
parent 64cef4d0c4
commit 67a5a25163
  1. 2
      scripts/appscripts/sxmo_youtube.sh

@ -14,7 +14,7 @@ youtubesearch() {
searchmenu() { searchmenu() {
HISTORY="$( 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" sed "s#^#History: #g"
)" )"

Loading…
Cancel
Save