> -----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 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 option is present? I need to study the bash > man pages and pursue as a bash problem ...
You might wanna try echoing the $- variable in bash. It shows the bash's current options. /Lasse _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make