Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: A shell by any other name... Message-ID: <4496@brl-tgr.ARPA> Date: Sat, 8-Sep-84 21:20:31 EDT Article-I.D.: brl-tgr.4496 Posted: Sat Sep 8 21:20:31 1984 Date-Received: Fri, 14-Sep-84 09:04:26 EDT References: <754@aplvax.UUCP> Organization: Ballistics Research Lab Lines: 4 If the shell thinks it is a "login shell" then it will source .profile before processing regular commands. Usually this test is just that argv[0] begins with a dash `-'. Try linking sh to -sh, for example, then invoking -sh.