The shell is a command interpreter. The user who is executing the script has
to have read access to the script or the commands can not be read and executed
by the shell. You have come accross a good idea... why not compile it? I
have the rest of your puzzle solved... Why not write it in 'C' and compile it?
'C' is fairly easy to write in, and every good UNIX programmer should know 'C'
to survive. Bottom line: Leave you shell scripts readable and executable,
write your REAL programs in 'C'...that way it doesn't matter if they are
readable or not... unless it's something you don't want copied
-( Keath )-
6. X toolkit