🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #354

Re: Bash Bug in parsing/job control

#354
From: Chet Ramey
Date: Wed, 19 Jul 1989 18:43
34 lines
1494 bytes
Lee Kolakowski writes:

>This is bash 1.02 on a Sun3/140 compiled with cc from Sun, in Sunos 4.0

>$ make & ; ls
>syntax error near `;'
>
>Why????

Because it is not allowed by the grammar in parse.y.  I don't know where the
grammar came from; it might have been a result of the POSIX 1003.2 work 
(remember, bash is an implementation of the POSIX shell spec).

>$ TEST_VAR=junk
>
>does it show up in the environment without explicitly being exported?

This is bash 1.02 running on an IBM-RT running 4.3 BSD (the same behavior 
is observed on a Vax running Ultrix 3.0 and a Sun running SunOS 3.5):

cwns5$ TEST=dhdh
cwns5$ echo $TEST
dhdh
cwns5$ printenv | grep TEST
cwns5$ 

This doesn't look like it shows up in the environment to me...

Chet Ramey

Chet Ramey			"We are preparing to think about contemplating 
Network Services Group, CWRU	 preliminary work on plans to develop a
chet@cwjcc.INS.CWRU.Edu		 schedule for producing the 10th Edition of 
				 the Unix Programmers Manual." -- Andrew Hume
Technical Details
Message-ID: <431@cwjcc.CWRU.Edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!kiwi!chet
References: <LFK.89Jul15210058@mbio.med.upenn.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!kiwi!chet
From: chet@kiwi.CWRU.EDU (Chet Ramey)
Newsgroups: gnu.bash.bug
Subject: Re: Bash Bug in parsing/job control
Message-ID: <431@cwjcc.CWRU.Edu>
Date: 19 Jul 89 18:43:16 GMT
References: <LFK.89Jul15210058@mbio.med.upenn.edu>
Sender: news@cwjcc.CWRU.Edu
Reply-To: chet@kiwi.INS.CWRU.Edu (Chet Ramey)
Distribution: usa
Organization: CWRU Andrew R. Jennings Computing Center
Lines: 34