#!/bin/ksh -e

Can you please tell me what the command "#!/bin/ksh -e" means?

I tried running a ksh script with "#!/bin/ksh -e" as starting line, and with "#!/bin/ksh" as starting line - they behave differently..

Thanks!
Ramya

From the man page:

-e If the shell is non-interactive and if a command fails, execute the ERR trap, if set, and exit immediately. 
   This mode is disabled while reading profiles.

Thanks! That explains a lot..
I had a series of SQL's to be submitted within a ksh script(with -e option). If one SQL failed, the script stopped execution.