🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Raul Deluth Rockwell Wed, 15 Nov 1989 01:07
bash version (novice question)
#718
Author: Raul Deluth Rockwell
Date: Wed, 15 Nov 1989 01:07
5 lines
620 bytes
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'.
--
Re: bash version (novice question)
#720
Author: Tony Li
Date: Wed, 15 Nov 1989 06:56
14 lines
1078 bytes
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.
bash version (novice question)
#723
Author: Brian Fox
Date: Wed, 15 Nov 1989 09:47
17 lines
1147 bytes
   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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads