Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site uvacs.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!mcnc!ncsu!uvacs!rwl From: rwl@uvacs.UUCP (Ray Lubinsky) Newsgroups: net.unix Subject: Re: Re: $path vs $PATH Message-ID: <2149@uvacs.UUCP> Date: Thu, 6-Jun-85 21:32:58 EDT Article-I.D.: uvacs.2149 Posted: Thu Jun 6 21:32:58 1985 Date-Received: Mon, 10-Jun-85 06:13:34 EDT References: <347@tekred.UUCP> <108@wcom.UUCP> Organization: U.Va. CS in Charlottesville VA Lines: 20 > > Okay, UNIX gurus, can somebody tell me about the differences > > (in csh) between the shell variable $path and the environment > > variable $PATH ??? > > ...tektronix!tekred!ronbe (Ron Bemis) > > My understanding is that only the format of the two variables > is different, with both containing the same information, because > csh automatically sets $PATH when you set $path. > Furthermore, csh(1) automatically sets $path when you perform the command "setenv $PATH". As far as I can see, the major difference between $PATH and $path is that the latter is really only a part of your csh(1) operating environment. $PATH is the variable that is understood inside of all programs, being imported through the environment pointer and available through the getenv(3) call. -- Ray Lubinsky University of Virginia, Dept. of Computer Science uucp: decvax!mcnc!ncsu!uvacs!rwl