Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site drivax.UUCP Path: utzoo!linus!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!hplabs!drivax!alan From: alan@drivax.UUCP (Alan Fargusson) Newsgroups: net.unix Subject: Re: Dumb question: does 8th Edition "sh" treat "$0" in a new way? Message-ID: <72@drivax.UUCP> Date: Sun, 30-Dec-84 00:06:00 EST Article-I.D.: drivax.72 Posted: Sun Dec 30 00:06:00 1984 Date-Received: Tue, 1-Jan-85 06:01:28 EST References: <4112@elsie.UUCP> Organization: Digital Research, Monterey, CA Lines: 14 > The challenge here seems to be that our 4.1bsd "sh" expands "$0" to > "/mnt/ado/bin/2" rather than to "2"; when "pr" sees "-/mnt/ado/bin/2" in its > argument list it gets quarrelsome. I think you are using 'csh', and not 'sh'. On our UN*X (System V rel.2) 'sh' will work. On another system here we have Eunice which I think is BSD 4.1, and 'csh' does what you describe, but 'sh' works fine. I also found that if '2' is placed in the current directory it work with 'csh'. Apperently the 'csh' people thought we would want full path names. -- Alan Fargusson. { ihnp4, sftig, amdahl, ucscc, ucbvax!unisoft }!drivax!alan