On Sun, Sep 29, 2002 at 06:30:20PM -0700, Bill Mudd wrote: > In version 1.11a31, cdrecord prints "-prcap" (scsi_cdr.c) as: > Maximum read speed in kB/s: xxxx > Current read speed in kB/s: xxxx > Maximum write speed in kB/s: xxx > Current write speed in kB/s: xxx > > in version 1.11a35 it prints it as: > Maximum read speed: xxxx kB/s (CD 32x, DVD 4x) > Current read speed: xxxx kB/s (CD 32x, DVD 4x) > Maximum write speed: xxx kB/s (CD 4x, DVD 0x) > Current write speed: xxx kB/s (CD 4x, DVD 0x)
Looks to me like a simple way to parse both is to look for the first ':' then look for the first number. That should parse both the same. [snip] Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

