Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!AI.MIT.EDU!tmb From: tmb@AI.MIT.EDU (Thomas M. Breuel) Newsgroups: gnu.bash.bug Subject: bash seems to execute ".profile" when it shouldn't Message-ID: <8909110216.AA05623@wilde.ai.mit.edu> Date: 11 Sep 89 02:16:36 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 10 wilde$ # this is /bin/sh running on an HP 9000/350 running HP-UX wilde$ bash this was the .profile wilde$ help|sed 1q GNU bash, version 1.03.11 (plus HPUX hacks) wilde$ logout wilde$ Bash should only execute $HOME/.profile when it is invoked with argv[0][0]=='-', following the standard UNIX convention.