🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Gordon C. Galligher Tue, 27 Feb 1990 21:42
BASH 1.0.4 Bug (maybe)
#1179
Author: Gordon C. Galligher
Date: Tue, 27 Feb 1990 21:42
39 lines
2207 bytes
There isn't a lot of bandwidth in this group (at least not at this site), so
I'm not sure what this group is created for, but from the name, I ass-u-me that
it is for the reporting of bugs in the BASH program.

I am real impressed with BASH, and in fact, I am using it as my login shell,
but there are a couple of real problems with it.  One of the major problems is
the ability to write shell scripts interactively.  Example:

	bash$ for i in this is a test
	> do
	> echo I == $i
	> done
	>
 .......^
 It should NOT ask me for any more input, it is already done!  I haven't looked
 at the source code, and I'm afraid that I really don't have the time to do it.
 I realize that all of the GNU stuff has the caveat emptor on it, but I just
 wanted to let someone know about the problem. 
 
There also seems to be a problem when using 'vi'.  For some strange reason, when
trying to use the command:  vi .bash_profile, I would get an Illegal Instruction
(and if ulimit -c wasn't set) a core dump.  This occured very sporadically.
It would happen quite a few times, and then I would do something else, and then
try it again, and it would work.  (Something else == ls, cp, cat, etc.)

All of this happens on a SUN 4/280 running SunOS 4.0.3.

Any pointers, or patches, would be greatly appreciated.  If I haven't given
enough detail, then please tell me, and I will do my best to give you what
you need.

		-- Gordon.

--

Gordon C. Galligher  <|> ..!uunet!telxon!gorpong <|> telxon!gorpong@uunet.uu.net
Telxon Corporation   <|> "I am attempting, ma'am, to make a mnemonic memory
Akron, Ohio, 44313   <|> circuit out of stone knives and bearskins"  - Spock
(216) 867-3700 (3512)<|>	_City on the Edge of Forever_
Re: BASH 1.0.4 Bug (maybe)
#1181
Author: Gordon C. Galligher
Date: Wed, 28 Feb 1990 16:21
36 lines
1543 bytes
My apologies.  I have the following:

In article <474@telxon.UUCP> gorpong@telxon (Gordon C. Galligher) writes:

>
>	bash$ for i in this is a test
>	> do
>	> echo I == $i
>	> done
>	>
> .......^

Actually, EVEN if I try:

	bash$ for i in this is a test ; do echo I == $i ; done
	bash>
and
	bash$ for i in this is a test ;
	bash> do
	bash> echo I == $i
	bash> done
	bash>

So you see, no matter what way of legal, and illegal syntax, it still
doesn't work.  Actually, the for followed by return-followed by do, should
be considered legal syntax (at least in Bourne Shell), and it doesn't
require the use of the ';' as I was told in a mail message.

Therefore, I still feel this is a bug.  Thanks.

		-- Gordon.

Gordon C. Galligher  <|> ..!uunet!telxon!gorpong <|> telxon!gorpong@uunet.uu.net
Telxon Corporation   <|> "I am attempting, ma'am, to make a mnemonic memory
Akron, Ohio, 44313   <|> circuit out of stone knives and bearskins"  - Spock
(216) 867-3700 (3512)<|>	_City on the Edge of Forever_
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