summaryrefslogtreecommitdiff
path: root/dz/dzq
diff options
context:
space:
mode:
Diffstat (limited to 'dz/dzq')
-rwxr-xr-xdz/dzq3
1 files changed, 1 insertions, 2 deletions
diff --git a/dz/dzq b/dz/dzq
index cb8579a..bca7adc 100755
--- a/dz/dzq
+++ b/dz/dzq
@@ -10,8 +10,7 @@ rm /tmp/dzq 2> /dev/null
curl -s "https://www.deezer.com/search/$q" |
grep __DZR_APP_STATE__ |
cut -d= -f2- |
-jq -r '.TRACK.data[] | .SNG_TITLE + "\n" + .ART_NAME + "\n" + .SNG_ID' 2>&- |
-paste - - - |
+jq -r '.TRACK.data[] | .SNG_TITLE + "\t" + .ART_NAME + "\t" + .ALB_TITLE + "\t" + .SNG_ID' 2>&- |
sed 's/ */ /g' |
head -${2:-10} |
nl -w 2 |