> when I switched out the "sort|uniq -u" and put in sort -u, it no longer > worked.<<<<<
Sorry, I made a mistake. The pipe "sort | uniq" is equivalent to "sort -u". However, you use "uniq -u", which differs from "uniq" without options :-) > i.e. check it out.. the above should give you the same number > of unloaded mods as your code... I checked and works. Thanks, FA