Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!cwjcc!cwns5!chet From: chet@cwns5.INS.CWRU.Edu (Chet Ramey) Newsgroups: gnu.bash.bug Subject: Re: A set of bash bugs and suggestions (long) Message-ID: <361@cwjcc.CWRU.Edu> Date: 14 Jun 89 22:07:03 GMT References: <8906141648.AA21706@watsnew.waterloo.edu> <8906141744.AA00311@life.ai.mit.edu> Sender: news@cwjcc.CWRU.Edu Reply-To: chet@cwns5.INS.CWRU.Edu () Distribution: gnu Organization: Case Western Reserve Univ. Cleveland, Ohio, (USA) Lines: 47 In article <8906141744.AA00311@life.ai.mit.edu> jjd@BBN.COM (James J Dempsey) writes: [ Talks about his prompt_command problem ] >It seems that no one can reproduce this, although I haven't seen a >message from anyone running Ultrix 3.0. Here is some more data to aid >in debugging. I am running bash 0.99 on a VAXstation 2000 with Ultrix 3.0. >bash$ PROMPT_COMMAND=date >Wed Jun 14 13:26:15 EDT 1989 >bash$ if date >Wed Jun 14 13:26:54 EDT 1989 >bash>then >Wed Jun 14 13:26:55 EDT 1989 >bash>echo fine >Wed Jun 14 13:26:56 EDT 1989 >bash>fi >Illegal instruction (core dumped) Here is my output with the same input: pirate$ echo $SHLVL 3 pirate$ PROMPT_COMMAND=date Wed Jun 14 18:01:36 EDT 1989 pirate$ if date Wed Jun 14 18:01:41 EDT 1989 > then Wed Jun 14 18:01:44 EDT 1989 > echo fine Wed Jun 14 18:01:46 EDT 1989 > fi Wed Jun 14 18:01:49 EDT 1989 fine Wed Jun 14 18:01:49 EDT 1989 pirate$ Also, setting line buffering for stderr as advised by another posting makes bash dump core in xrealloc on my machine (VS2000, Ultrix). Chet Ramey Network Services Group, CWRU chet@{cwjcc,pirate}.INS.CWRU.Edu "The flagon with the dragon has the potion with the poison; the vessel with the pestle holds the brew that is true!"