so, compgen -d generates directory listings without trailing / The code uses compgen -d -f to generate a list of both files and directories; I guess a change to use:
compgen -d -S "/" ; compgen -f would fix this (in each command that uses paths) -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]