Re: [1] 69728 segmentation fault bash

2018-07-20 Thread Clint Hepner
> On 2018 Jul 20 , at 10:40 a, Mr Guiguilebreton wrote: > > Yes, i now. I test the syntax and the parse error because I programming a > command interpreter bash in C language and I report the Segmentation Fault > for help you to debug. If you want I can help you free to solve the problem.

Re: [1] 69728 segmentation fault bash

2018-07-20 Thread Clint Hepner
> On 2018 Jul 20 , at 9:27 a, Mr Guiguilebreton wrote: > > Hello, check this command in GNU bash, version 3.2.57(1)-release > (x86_64-apple-darwin17): > > ls () { ls -lG;}; ls You wrote a recursive function with no base case. Don't do that. ls () { command ls -lG; }; ls or use an alias

[1] 69728 segmentation fault bash

2018-07-20 Thread Mr Guiguilebreton
Hello, check this command in GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17): ls () { ls -lG;}; ls freely, Guillaume Madec (+33)6 46 01 00 79 PS: It's a pleasure to help the FSF