Package: abcde
Version: 2.3.99.6-1
Severity: important
Tags: patch

*** Please type your report below this line ***

With the environment variable
GREP_OPTIONS=--color=auto -n

(the real problem is the "-n"),

set, 

the line 1771
-=-=-=
TRACKS="$(echo "$CDPARANOIAOUTPUT" | egrep '^[[:space:]]+[[:digit:]]' | tail -n 
1 | get_first | tr -d "." | tr '\n' ' ')"
-=-=-=

outputs a line number followed by ":" instead of the number of the last
track.

Therefore the line 1797
-=-=-=
TRACKS=$(printf "%0.${TRACKNUMPADDING}d" $TRACKS)
-=-=-=

produces an error message:

-=-=-=
/usr/bin/abcde: line 1797: printf: 28:: invalid number
-=-=-=

and later the line 3785:
-=-=-=
FIRSTTRACK=$( get_first $TRACKQUEUE )
-=-=-=

freezes.

Solution/Patch: unset GREP_OPTIONS (and GREP_COLORS to be sure) in the 
beginning of the abcde script.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages abcde depends on:
ii  cd-discid                     0.9-1      CDDB DiscID utility
ii  cdparanoia                    3a9.8-14   An audio extraction tool for sampl
ii  vorbis-tools                  1.1.1-6    several Ogg Vorbis tools
ii  wget                          1.10.2-2   retrieves files from the web

abcde recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to