RE: interactive shell is incorrect

2003-06-06 Thread David Thompson
[snip] >Can you help suggest experiments? Maybe this shows the problem is bash, $ cat ~/.bashrc echo Hello bashrc $ /bin/bash -c /bin/pwd Hello bashrc /home/davidt/tmp $ /bin/sh -c /bin/pwd /home/davidt/tmp Why does bash think it's running interactively when the -c

RE: interactive shell is incorrect

2003-06-06 Thread David Thompson
> From: Paul D. Smith [mailto:[EMAIL PROTECTED] > %% David Thompson <[EMAIL PROTECTED]> writes: > dt> BASH_ENV is no, but ENV is yes. > > dt> $ echo $BASE_ENV > > dt> $ echo $ENV > dt> /home/davidt/.kshrc > > dt> My login shell is ksh93, so naturally I'm using ENV > dt> with ks

RE: interactive shell is incorrect

2003-06-06 Thread Paul D. Smith
%% David Thompson <[EMAIL PROTECTED]> writes: dt> BASH_ENV is no, but ENV is yes. dt> $ echo $BASE_ENV dt> $ echo $ENV dt> /home/davidt/.kshrc dt> My login shell is ksh93, so naturally I'm using ENV dt> with ksh, not bash. Doesn't matter. ENV handling is a requirement of the

RE: interactive shell is incorrect

2003-06-06 Thread David Thompson
> From: Paul D. Smith [mailto:[EMAIL PROTECTED] Thanks for your quick response! > dt> Could someone explain this behavior? > Maybe. Do you have either the $ENV or $BASH_ENV variables > set? If so that probably explains the behavior. See the > bash man page for more information. BASH_ENV is no

RE: interactive shell is incorrect

2003-06-06 Thread lasse.makholm
> -Original Message- > From: ext David Thompson [mailto:[EMAIL PROTECTED] > Sent: Friday, June 06, 2003 1:52 AM > To: 'Paul D. Smith' > Cc: '[EMAIL PROTECTED]' > Subject: RE: interactive shell is incorrect > > > > [snip] > >Can

Re: interactive shell is incorrect

2003-06-06 Thread Paul D. Smith
%% "David Thompson" <[EMAIL PROTECTED]> writes: dt> Could someone explain this behavior? Maybe. Do you have either the $ENV or $BASH_ENV variables set? If so that probably explains the behavior. See the bash man page for more information. Also note that on some Linux systems /bin/sh (which