From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ucsd.edu ([128.54.16.1]) by hawkwind.utcs.toronto.edu with SMTP id <2659>; Wed, 24 Jun 1992 19:08:50 -0400 Received: from sdnp1.ucsd.edu by ucsd.edu; id AA23357 sendmail 5.64/UCSD-2.2-sun via SMTP Wed, 24 Jun 92 16:05:52 -0700 for rc@hawkwind.utcs.toronto.edu Received: by sdnp1.UCSD.EDU (1.2/UCSDGENERIC.2) id AA02025 for rc@hawkwind.utcs.toronto.edu; Wed, 24 Jun 92 16:04:58 pdt Date: Wed, 24 Jun 1992 19:04:58 -0400 From: dmoore@sdnp1.UCSD.EDU (David Moore) Message-Id: <9206242304.AA02025@sdnp1.UCSD.EDU> To: culliton@srg.af.mil (Tom Culliton x2278) Cc: rc@hawkwind.utcs.toronto.edu Subject: Re: Command execution In-Reply-To: Tom Culliton x2278's message of Wed June 24, 191992, at 17:19:34 References: <9206241719.aa07461@ceres.srg.af.mil> Tom Culliton writes: | >> Contrary to the documentation, Duff's rc | >> and Byron's behave the *same* for 'foo/bar', and at least Rob Pike a) | >> thinks this is a good thing and b) uses this feature. | | This iregularity troubles me more, but thats just because odd little | gotchas set my teeth on edge, and in almost any other unix context | "x/y" is identical to "./x/y". Could you say more about why Pike | thinks this is good and what you would use it for? I use this all of the time. At first I found it strange that 'x/y' wasn't './x/y' but I quickly retrained. Also, I don't have '.' in my path so I'm well used to using './' in front of things as needed. Now, the reason I use this. I some subdirectories of binaries that I use occasionally, but don't want to pay the performance hit of leaving them in my path. Also, I just don't want them in my path because of some name conflicts with std programs. Example: I do have '/usr/local/bin' in my path. If I want to run the file '/usr/local/bin/cap/atlook VA', as I do once or twice a week, I just do 'cap/atlook VA' and it does it. I find this very convenient and I like it better than having a function named 'atlook' which knew where to go. I currently have a hosts directory of machines I log into also. I've been thinking of removing this from my path, and just using 'hosts/foo' to get to them. | Tom David -- David Moore - SysAdmin/Programmer UCSD | Dept. of Anesthesiology | V-151 | La Jolla, CA 92093-9151 Work Phone: (619) 552-8585 x7042 "God does not play dice." - A. Einstein "Yes, I do." - D. Moore