🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #812

Re: bahs 1.04 core dumps reading a script file

#812
From: Chet Ramey
Date: Wed, 06 Dec 1989 21:18
24 lines
1048 bytes
Andrew Thomas reports:

	I have a shell file which is read when I log in to set my functions.
	This one causes a core dump;

	function distr ()
	{
	  local machines='watnext watsnew watsup watever watif watsleft'
	  local current=`/bin/hostname`
	  local curdir=$PWD
	  if [ "$1" = "-m" ] ; then
	    shift
	    machines="$1"
	    shift
	  done						<-- should be fi

I have sent a fix for this to Brian.

Chet Ramey
-- 
Chet Ramey
Network Services Group				"Where's my froggie?"
Case Western Reserve University
chet@ins.CWRU.Edu			
Technical Details
Message-ID: <1989Dec6.211858.13223@usenet.ins.cwru.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!news
References: <ANDREWT.89Dec1180936@watsnew.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!news
From: chet@cwns1.CWRU.EDU (Chet Ramey)
Newsgroups: gnu.bash.bug
Subject: Re: bahs 1.04 core dumps reading a script file
Message-ID: <1989Dec6.211858.13223@usenet.ins.cwru.edu>
Date: 6 Dec 89 21:18:58 GMT
References: <ANDREWT.89Dec1180936@watsnew.waterloo.edu>
Reply-To: chet@ins.CWRU.Edu (Chet Ramey)
Organization: Case Western Reserve Univ. Cleveland, Ohio, (USA)
Lines: 24