I beleive that I have a solution to the problem.
#!/bin/ksh
#Output all the files using ls -l /usr/bin and grep that has any #fourth charater except a lowercase x or -. Example -r-xr-xr-x #or drwxr-xr-x.
#sample use: nodashx
ls -l /usr/bin|tail +2|grep '^...[^x-]......'|sort -r|wc -l
exit
#I have tested this solution and it worked.
Steve
August 2005