Article View: gnu.bash.bug
Article #251Re: rsh, rcp with bash
From: Chip Salzenberg
Date: Mon, 03 Aug 1992 18:45
Date: Mon, 03 Aug 1992 18:45
25 lines
1614 bytes
1614 bytes
According to friedman@gnu.ai.mit.edu (Noah Friedman): >In article <2A7691FE.7354@tct.com> chip@tct.COM (Chip Salzenberg) writes: >>According to chet@po.cwru.edu: >>>Bash attempts to source the .bashrc for non-interactive shells running >>>rsh and rcp so things like $PATH get set. >> >>... which is, in my opinion, a BIG mistake. > > I don't think it's a mistake at all. Not only do other shells do this >(so it's expected behavior).... Sorry, but this statement is incorrect. Csh always reads .cshrc no matter what -- it doesn't care what stdin is. Other shells may or may not read startup files, but their behavior does _NOT_ depend on such an insignificant consideration as the type of fd zero. >It's conventional wisdom that you put interactive commands in an `if' >that checks if PS1 is set. If you're an old csh user, you may have come to expect that such hacks are needed. But a bug with a workaround is still a bug. -- Chip Salzenberg at Teltronics/TCT <chip@tct.com>, <73717.366@compuserve.com> "Do Rush place weird subliminal backmasked messages in their songs to compel unwilling geeks to commit evil .sig atrocities?" -- Dean Engelhardt
Technical Details
Message-ID:
<2A7D7EC9.6FC1@tct.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!tct.COM!chipReferences:
<9207241236.AA02088.SM@odin.INS.CWRU.Edu>Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!tct.COM!chip From: chip@tct.COM (Chip Salzenberg) Subject: Re: rsh, rcp with bash Message-ID: <2A7D7EC9.6FC1@tct.com> Sender: gnulists@ai.mit.edu Organization: TC Telemanagement, Clearwater, FL References: <9207241236.AA02088.SM@odin.INS.CWRU.Edu> Distribution: gnu Date: Mon, 3 Aug 1992 18:45:29 GMT Approved: bug-bash@prep.ai.mit.edu Lines: 26