Bug 24 - Missing flag on grep < -a, --text>
Summary: Missing flag on grep < -a, --text>
Alias: None
Product: abcde
Classification: Unclassified
Component: CD lookup (show other bugs)
Version: unspecified
Hardware: PC Linux
: Normal normal
Assignee: Steve McIntyre
Depends on:
Reported: 2015-11-29 16:34 GMT by abcde
Modified: 2017-01-14 16:52 GMT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description abcde 2015-11-29 16:34:34 GMT
When ripping some cd's I just get the following text for every file: (in german language) 

"10: Übereinstimmungen in Binärdatei /tmp/abcde.wJENYUeH5yLZE9DPXRZO0d32UZE-/cd-text."

"10: matches in binary /tmp/abcde.wJENYUeH5yLZE9DPXRZO0d32UZE-/cd-text."

The problem is there for every track on the CD but not for all CD's.
I have just watched out for the problem and it might be a missing flag in a grep command. 
(See: http://back2hack.cc/showthread.php?tid=4852 | and other pages ;) )

I run abcde in version 2.7.1. on Archlinux.
Comment 1 abcde 2015-11-29 16:42:52 GMT
Hey, if it is the grep problem, it might be the following line:

2874                         echo "Selected: #$CDCHOICENUM ($(grep ^DTITLE= "$ABCDETEMPDIR/cddbread.$CDCHOICENUM" | cut -f2- -d= | tr -d \\r\\n))" >&2
Comment 2 Steve McIntyre 2017-01-13 00:22:25 GMT
There are quite a few grep calls that might look at "binary" data, so I'm adding "-a" in lots of places to make sure.

This should be in the 2.8 release, coming soon.
Comment 3 Steve McIntyre 2017-01-14 16:52:59 GMT
Fix released in 2.8