🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #176

Re: && causing bash to dump core, varia

#176
From: Jean-Francois Lamy
Date: Thu, 29 Jun 1989 14:46
11 lines
780 bytes
lamy@ai.utoronto.ca (Jean-Francois Lamy) writes:
>a) a .bashrc that contains
>   if [ "$PS1" != "" && $SHLVL -gt 1 ]
>   then
>	   echo bah
>   fi
>   will cause bash to dump core; said code appears to produce an error message
>   (cryptic as it may be) as it should when the shell is run interactively

This is on Sun 3 and Sun 4, SunOS 4.0.1.  I can dig up the debugger should the
bug prove hard to reproduce elsewhere.
Technical Details
Message-ID: <89Jun29.104738edt.10370@neat.ai.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!neat.ai.toronto.edu!lamy
References: <89Jun29.100903edt.10374@neat.ai.toronto.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!neat.ai.toronto.edu!lamy
From: lamy@ai.utoronto.ca (Jean-Francois Lamy)
Subject: Re: && causing bash to dump core, varia
Message-ID: <89Jun29.104738edt.10370@neat.ai.toronto.edu>
References: <89Jun29.100903edt.10374@neat.ai.toronto.edu>
Date: Thu, 29 Jun 89 10:46:45 EDT