Article View: gnu.bash.bug
Article #586script problems with BASH (1.03)
From: Anantha Srirama
Date: Wed, 13 Sep 1989 22:48
Date: Wed, 13 Sep 1989 22:48
33 lines
1629 bytes
1629 bytes
I am encountering the following problem. 1. I have a shell script as follows (in my bin directory): # !/home/poppy/anantha/bash if [ "$IN_SUNTOOLS" = "damn_right" ] ; then exec shelltool -Wp 0 0 -Ws 570 772 -WP 192 836 -Wl "Emacs - A Real Mans Editor" -WL "Emacs" /usr/local/bin/gnuemacs $@ else exec /usr/local/bin/gnuemacs $@ fi When I try to run this script from BASH, it sources my .profile file. According to the documentation it is not supposed to do so (look in the file FEATURES which was distribuited with BASH-1.03). I don't have the variable ENV defined. I do have the following files in $HOME: .profile .bashrc .bash_profile My .profile is written with SH and KSH in mind, it has some of the KSH specific builtins like 'whence'. This throws off the BASH completely. Anybody else experience the same problem??? Thanks for your time. -Anantha- ******************************************************************************* Anantha Padmanabha N. Srirama | USENET: ...sun!ravi!anantha Sun Microsystems | ...sun!anantha@ravi 2550, Garcia Ave. MS: 16-02 | ...sun!anantha Mt. View, CA-94043 | ARPA: anantha@sun.com *******************************************************************************
Technical Details
Message-ID:
<124664@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!newstop!sun!ravi!ananthaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!newstop!sun!ravi!anantha From: anantha%ravi@Sun.COM (Anantha Srirama) Newsgroups: gnu.bash.bug Subject: script problems with BASH (1.03) Keywords: script Message-ID: <124664@sun.Eng.Sun.COM> Date: 13 Sep 89 22:48:31 GMT Sender: news@sun.Eng.Sun.COM Distribution: usa Lines: 33