bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [1] 69728 segmentation fault bash


From: Clint Hepner
Subject: Re: [1] 69728 segmentation fault bash
Date: Fri, 20 Jul 2018 12:18:28 -0400

> On 2018 Jul 20 , at 10:40 a, Mr Guiguilebreton <address@hidden> 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.

See https://lists.gnu.org/archive/html/bug-bash/2017-09/msg00048.html.

> 
> 
> freely,
> Guillaume Madec
> (+33)6 46 01 00 79
> 
> 2018-07-20 16:17 GMT+02:00 Clint Hepner <address@hidden>:
> 
> > On 2018 Jul 20 , at 9:27 a, Mr Guiguilebreton <address@hidden> 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 for one of its few legitimate use cases
> 
>     alias ls='ls -lG'
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]