[gnu.bash.bug] bash version

raulmill@usc.edu (Raul Deluth Rockwell) (11/15/89)

How do you tell which version of bash you are running?

I'm using a version which one of the systems people here installed
that has such wonderful features as '# is not a comment character'.
--

tli@sargas.usc.edu (Tony Li) (11/15/89)

In article <RAULMILL.89Nov14170745@usc.edu> raulmill@usc.edu (Raul Deluth Rockwell) writes:
    How do you tell which version of bash you are running?
    
    I'm using a version which one of the systems people here installed
    that has such wonderful features as '# is not a comment character'.
    --

One way is to ask your systems person.  In your case, it's version 1.01.

Tony
Tony Li - USC University Computing Services
Internet: tli@usc.edu	Uucp: usc!tli	Bitnet: tli@gamera, tli@ramoth
This is a test.  This is a only a test.  In the event of a real life
you would have been given instructions.

bfox@AUREL.CNS.CALTECH.EDU (Brian Fox) (11/15/89)

   Date: 15 Nov 89 01:07:45 GMT
   From: raulmill@usc.edu  (Raul Deluth Rockwell)
   Organization: University of Southern California, Los Angeles, CA
   Sender: bug-bash-request@prep.ai.mit.edu

   How do you tell which version of bash you are running?

echo $BASH_VERSION

   I'm using a version which one of the systems people here installed
   that has such wonderful features as '# is not a comment character'.

This is a deliberate feature if you are talking about interactive use.
If Bash doesn't ignore comments in shell scripts, then it is a bug.

Brian