🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #331

Bash Bug in parsing/job control

#331
From: Lee Kolakowski
Date: Sun, 16 Jul 1989 01:00
39 lines
1570 bytes
This is bash 1.02 on a Sun3/140 compiled with cc from Sun, in Sunos 4.0

$ make & ; ls
syntax error near `;'

Why????

This is legal in sh and csh.

Also, I was having problems with messages from the shell showing up
in my RMAIL file inside emacs. I put export mailpath="" in my ~/.bashrc
and those problems went way, seems to be a bash/emacs weirdism.

Also

why if on the command line I define a variable

$ TEST_VAR=junk

does it show up in the environment without explicitly being exported?


BTW, a great shell, even if it does have small probs.


--

Frank Kolakowski 

=====================================================================
|lfk@mbio.med.upenn.edu                 ||      Lee F. Kolakowski   |
|kolakowski@mscf.med.upenn.             ||	Univ. of Penna.     |
|c/o jes@eniac.seas.upenn.edu		||	Dept of Chemistry   |
|kolakowski@c.chem.upenn.edu		||	231 South 34th St.  |
|bcooperman.kolakowski@bionet-20.arpa	||	Phila, PA 19104     |
|AT&T:	1-215-898-2927			||--------------------------|
|#include <litigate.h>			||      One-Liner Here!     |
=====================================================================
Technical Details
Message-ID: <LFK.89Jul15210058@mbio.med.upenn.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!netnews.upenn.edu!lfk

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!netnews.upenn.edu!lfk
From: lfk@mbio.med.upenn.edu (Lee Kolakowski)
Newsgroups: gnu.bash.bug
Subject: Bash Bug in parsing/job control
Message-ID: <LFK.89Jul15210058@mbio.med.upenn.edu>
Date: 16 Jul 89 01:00:58 GMT
Sender: news@netnews.upenn.edu
Distribution: usa
Organization: University of Pennsylvania, Dept. of Chemistry
Lines: 39