In <[EMAIL PROTECTED]>,
  Joerg Schilling <[EMAIL PROTECTED]> offers the opinion:

> >From [EMAIL PROTECTED] Tue Oct 17 05:49:19 2000

> >Back in the days of cdwrite there used to be a program
> >called 'isosize' which is used something like this to
> >read iso9660 data CDs:
> >$ isosize /dev/sr0
> >670564352
> 
> Isosize is outdated:
> 
> -     The output is useless for cdrecord because it lists bytes.
> 
> -     It is not needed anymore since 97/03/02 (read cdrecord manpage!)
> 
> -     In addition isoinfo -d gives you the information in a useful
>       way (since January 2000).

  When I'm looking for a size to use in another program, I'm afraid
that I don't consider 14 lines of data in "Item: <value>" exactly a
"useful way." The isosize gave me the single number for size, which I
could maniputate as needed. Yes I can use grep and sed, or perl, or
awk, but I would find the size in some unit I actually use vastly more
convenient.

viz.
  old: bytes=$(isosize /dev/sr0 )
  new: bytes=$(expr 2048 \* $(isoinfo | grep 'Volume size is:' | sed 's/.*: //'))

  So I guess "useful way" is in the eye of the beholder, and means
"useful to the author."

-- 
   -bill davidsen ([EMAIL PROTECTED])
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me


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

Reply via email to