Re: Probable recursion in particular alias

2019-01-11 Thread Chet Ramey
On 1/10/19 1:30 AM, Ante Perić wrote: > zrak:~ synthmeat$ bash --version > GNU bash, version 5.0.0(1)-release (x86_64-apple-darwin18.2.0) > Copyright (C) 2019 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software;

Re: Probable recursion in particular alias

2019-01-09 Thread Ante Perić
Yes, certainly. I've also minimized the .bashrc and .bash_profile in here to what will also reproduce. Running "foo" here will peg my CPU down. zrak:~ synthmeat$ alias; declare -f alias foo=' echo "bar" ' shell_session_delete_expired () { if ( [ ! -e "$SHELL_SESSION_TIMESTAMP_FILE"

Re: Probable recursion in particular alias

2019-01-09 Thread Eduardo Bustamante
On Wed, Jan 9, 2019 at 4:59 AM Ante Perić wrote: (...) > Description: > Having an alias of type: > alias bug="\ >echo \"no output, 100% cpu\" \ > " > in .bashrc will give no output, will not complete, and it will peg the CPU to > 100%. Can you share the output of (right aft

Re: Probable recursion in particular alias

2019-01-09 Thread Chet Ramey
On 1/9/19 1:24 AM, Ante Perić wrote: > Bash Version: 5.0 > Patch Level: 0 > Release Status: release > > Description: > Having an alias of type: > alias bug="\ >echo \"no output, 100% cpu\" \ > " > in .bashrc will give no output, will not complete, and it will peg the CPU to

Probable recursion in particular alias

2019-01-09 Thread Ante Perić
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: darwin18.2.0 Compiler: clang Compilation CFLAGS: -DSSH_SOURCE_BASHRC -Wno-parentheses -Wno-format-security uname output: Darwin zrak 18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4