for file do if test -f $file then if test -r $file then if test -x $file then echo "File $file is readable and executable" fi fi fi done
for file do if [ -f $file ] then if [ -r $file ] then if [ -x $file ] then echo "File $file is readable and executable" fi fi fi done
for file do if [ -f $file -a -r $file -a -x $file ] then echo File $file is readable and executable fi done
for file do [ -f $file -a -r $file -a -x $file ] && echo File $file is readable and executable done