Package: cdparanoia
Version: 3.10+debian~pre0-4
Severity: normal

Man page says:

  -z --never-skip[=max_retries]
      Do not accept any skips; retry forever if needed.  An optional maximum
      number of retries can be specified; for comparison, default without -z
      is currently 20.

It's not clear from the above whether these:

    --never-skip=5
    -z 5

...are equivalent, as is common in standard utils:

    % seq 10 | tail --lines 1   # long switch, with space
    10
    % seq 10 | tail --lines=1   # long switch, with equals sign.
    10
    % seq 10 | tail -n 1        # short switch, with space
    10
    % seq 10 | tail -n=1        # short switch, with equals sign.
    tail: =1: invalid number of lines

While 'cdparanoia' "-z 5" doesn't work as expected, "-z=5" does. 

Either 'man cdparanoia' should clarify the current syntax, or the syntax
behavior should better conform to custom.  Supposing that 'tail' was the
standard to follow and its "short switch, with equals sign" gives an
error, then 'cdparanoia' can't emulate that without risking broken
scripts.  Maybe the 'tail' syntax itself is bad?  Adding the "short
switch, with space" to 'cdparanoia' probably wouldn't break anything.

How this bug was found.  I ran this:

        # grab one sector, output to '/tmp/bah0.wav'.
        f=0 ; cdparanoia -z 1 '1[0:0:0.'$f']-[0:0:0.'$(($f + 1))']'  
/tmp/bah$f.wav

...and had to figure out why it was ripping a whole track, instead of
one or two sectors, and why the output file had the wrong name.

Hope this helps...



-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages cdparanoia depends on:
ii  libc6                 2.3.6.ds1-13       GNU C Library: Shared libraries
ii  libcdparanoia0        3.10+debian~pre0-4 audio extraction tool for sampling

cdparanoia 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