Binand,

On Fri, Jun 23, 2000 at 02:27:56PM +0530, Binand Raj S. typed:
> 
> 
> . script.sh
> 
> or, alternatively
> 
> source script.sh
> 
> and the commands in script.sh are executed in the current shell.
> 

If we execute a script using the "." construct, does it ignore the shebang 
line in the script altogether ? 

What would happen if I had a csh script  called myscript with a startline 
that says #!/bin/csh and try to execute it under bash as ". myscript" ?

Kala

-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to