Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site sdcsvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!sdcsvax!allyn From: allyn@sdcsvax.UUCP (Allyn Fratkin) Newsgroups: net.unix-wizards Subject: Re: A shell by any other name... Message-ID: <43@sdcsvax.UUCP> Date: Sun, 16-Sep-84 00:53:45 EDT Article-I.D.: sdcsvax.43 Posted: Sun Sep 16 00:53:45 1984 Date-Received: Fri, 14-Sep-84 05:40:58 EDT References: <754@aplvax.UUCP> Organization: U.C. San Diego Lines: 19 In article <754@aplvax.UUCP>, ded@aplvax.UUCP writes: > Occasionally I like to use the Bourne shell interactively. > On these occasions I would like the sh to read ".profile" > > Is there any way to accomplish the above other than > by using the Bourne shell as my login shell? Yes. Try this program (and call it "sh" if you wish!): main() { execl("/bin/sh","-sh"); } -- From the virtual mind of Allyn Fratkin sdcsvax!allyn@Nosc UCSD Pascal Project {ucbvax, decvax, ihnp4} U.C. San Diego !sdcsvax!allyn "Generally you don't see that kind of behavior in a major appliance."