about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-01-21 08:36:58 +0000
committerEric Wong <e@80x24.org>2016-01-21 08:46:52 +0000
commita9fcfdb4ac43ccd625df1667611fa143f155dedc (patch)
tree9ae01afb29a5dce92907f30e6df6f197537f2b80
parentefb0302b9a55838552b17eef2387ac53d24269d1 (diff)
downloaddtas-a9fcfdb4ac43ccd625df1667611fa143f155dedc.tar.gz
It needs to display the track ID on the left like in
0.13.0 and earlier versions.  Oops.

Fixes: cb5a016bf5e1 ("dtas-tl: shell-unescape cat output")
-rwxr-xr-xbin/dtas-tl1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/dtas-tl b/bin/dtas-tl
index 7333a06..8262d12 100755
--- a/bin/dtas-tl
+++ b/bin/dtas-tl
@@ -146,7 +146,6 @@ when "cat"
     res = c.req("tl get #{track_ids.join(' ')}")
     res = Shellwords.split(res.sub!(/\A\d+ /, ''))
     while line = res.shift
-      line.sub!(/\A(\d+)=/n, '') or abort "unexpected line=#{line.inspect}\n"
       fix_enc!(line, enc)
       print "#{line}\n"
     end