Path: 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: Reply-To: chet@ins.CWRU.Edu (Chet Ramey) Organization: Case Western Reserve Univ. Cleveland, Ohio, (USA) Lines: 24 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