bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash is interactive despite -c option?


From: Paul D. Smith
Subject: Re: bash is interactive despite -c option?
Date: Fri, 6 Jun 2003 13:29:40 -0400

%% cpr@cwru.edu writes:

  c> However, bash-2.05 (by default) and bash-2.05[ab] (if compiled with
  c> SSH_SOURCE_BASHRC defined in config-top.h) will read and execute
  c> commands from ~/.bashrc if the shell thinks it's a top-level shell
  c> being executed by sshd.

  c> Apparently the conditions under which you're running gnu make are
  c> convincing bash that it's being run by sshd.

Hm, interesting.  What are the conditions bash looks at to make this
decision?

Thanks.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@gnu.org>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]