Re: ;exit in bash history causes bash to exit

2025-03-25 Thread microsuxx
when bash reads exit cmd it will exit so bash reads rc and exits .. also .. u may have a ';exit' alias .. On Tue, Mar 25, 2025, 22:15 microsuxx wrote: > dude if u tell bash to exit it will exit .. > > On Tue, Mar 25, 2025, 20:41 Ethan Gascoigne wrote: > >> From: ethan >> To: bug-bash@gnu.org >>

Re: ;exit in bash history causes bash to exit

2025-03-25 Thread microsuxx
dude if u tell bash to exit it will exit .. On Tue, Mar 25, 2025, 20:41 Ethan Gascoigne wrote: > From: ethan > To: bug-bash@gnu.org > Subject: ;exit in bash history causes bash to exit > > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Com

Re: ;exit in bash history causes bash to exit

2025-03-25 Thread Greg Wooledge
On Tue, Mar 25, 2025 at 22:16:15 +0100, microsuxx wrote: > when bash reads exit cmd it will exit > so bash reads rc and exits .. > also .. u may have a ';exit' alias .. The claim is that the ;exit appears in .bash_history (not .bashrc) and that this somehow causes a new instance of bash to exit.

;exit in bash history causes bash to exit

2025-03-25 Thread Ethan Gascoigne
From: ethan To: bug-bash@gnu.org Subject: ;exit in bash history causes bash to exit Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIF

Re: ;exit in bash history causes bash to exit

2025-03-25 Thread Martin Schulte
Hello Ethan, I can't reproduce the problem: > Repeat-By: > Open a terminal with bash as the shell > Type `;exit` This results in bash: syntax error near unexpected token `;' but not in closing the shell. > Re-open the terminal, it will immediately close Is there maybe

Re: ;exit in bash history causes bash to exit

2025-03-25 Thread microsuxx
ah bash history file .. .. yea i tried , bash dev doesnt segfault or anything , with it on a line and without an ending newline warm greetings .. :)) On Tue, Mar 25, 2025, 22:56 Greg Wooledge wrote: > On Tue, Mar 25, 2025 at 22:16:15 +0100, microsuxx wrote: > > when bash reads exit cmd it will