On 07:28:57 Nov 20, Kapil Hari Paranjape wrote:
> 
> "set" tells you what shell variables are defined (and does other
> things besides this). This is not the same as environment variables.
> Only the latter are passed to the commands.

I could be wrong but only exported variables are present in the
environment.

For instance, 

$ i=5

and 

$ export i=5

are two different things.

Try this.

$ i=5
$ sh
$ echo $i

and 

$ export i=5
$ sh
$ echo $i

-Girish
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to