[SUMMARY] 'set' vs 'env'

From: Rick von Richter <rickv_at_mwh.com>
Date: Mon May 20 2002 - 16:51:45 EDT
Thank you all for the responses.  BTW, I did RTFM and the pages said
nothing explicitly between the two.

Original Question
-----------------
Kinda academic question but what is the difference between the 'set' and
'env' commands.  Typing in either command (without parameters) spits out a
bunch of environment variables.  Is there a difference?

Answer
------
"set" gives both environment and shell variables.  "env" only gives
environment variables, which are passed along to child processes.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Rick von Richter Production Support Manager       Voice: 858-831-2222
  rickv@mwh.com    Maintenance Warehouse/Home Depot   Fax: 858-831-2221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  The box says: Win98, WinNT or BETTER. That's why I installed Linux.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[demime 0.99c.7 removed an attachment of type text/x-vcard which had a name of rickv.vcf]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon May 20 16:58:11 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:43 EST