[comp.sys.amiga.programmer] NewList 4.8 Bug!

dac@prolix.pub.uu.oz.au (Andrew Clayton) (03/15/91)

Phil Dietz's NEWLIST 4.8 came through comp.binaries.amiga today, and I eagerly
UUDECODED it, and read the doco [whatever happened to suck it and see!  :^)],
and then proceeded to have a fiddle with it.

First I tried NewList (NL) on my RAM: directory, and it worked fine. Then on
my large DLOAD: directory :

168 files - 1 dirs - 14516 blocks - 7235640 bytes 

Which was GREAT. I was so SICK of LIST only telling me block size, and having
to guesstimate by dividing block count by two, and multiplying by 1000.

Then I did 'NL Ram: -q sd' (Forgetting to put the '-' on the sd flag) and I
got a Software Failure! Sigh.

Guru 00000005 (Divide by Zero). This is repeatable - if you use NewList
with the -q option, and specify a file in the path that doesn't exist, NewList
will cause a 'divide by zero' software failure each and every time. Oh well.

I really like NL though, and if that bug's fixed, I'll even send my dollar
over! :-)

Minor documentation hassle:

      s  Sort by name                  sd  Sort by file size
     sd  Sorts by Date                  h  No header

So, 'sd' sorts by date, and 'sd' sorts by file size, eh! :-). The
documentation goes on to explain that 'ss' was the flag for size. I guess
Phil just 'Snapped' his help-screen into the doco, because the error is in the
program itself (NewList ? will show the same thing).

My favourite flag combo (so far) is '-qs -v'. It's a neat program.

Thanks Phil. (Now fix that /0 bug!)

Dac
David Andrew Clayton. // _l _  _ dac@prolix.pub.uu.oz.au    *or*|I post.I am.
Canberra, Australia.\X/ (_](_l(_ ccadfa.cc.adfa.oz.au!prolix!dac@munnari.oz