On Fri, 2 Jan 2004, Amey Gokhale wrote:

~ i modified my script lil bit for testing purpose.
~ now my script is
~
~ #!/bin/bash
~ echo "IN BASH"
~ #!/bin/csh
~ echo "IN CSH"
~

Dear you are confusing a lot of people. #! line has any significance
*only* when its the first line.. otherwise its treated as a simple shell
script and is executed by the shell u r using or by /bin/sh if its called
by exec etc system calls.

Sameer mentions the first line thing very explicitly, dont know why are
you getting confused.

-- 
Amit Upadhyay


-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to