Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14374

Re: [1] 69728 segmentation fault bash

From Clint Hepner <clint.hepner@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: [1] 69728 segmentation fault bash
Date 2018-07-20 12:18 -0400
Message-ID <mailman.3908.1532103516.1292.bug-bash@gnu.org> (permalink)
References <CAJ=MUbJ6Qib_tyKmD1G2M1z8QP9SDF2tVx3m-SXB3Zv00CPhQw@mail.gmail.com> <5BF37503-E5B4-4695-9CF1-2BD390D1FF54@gmail.com> <CAJ=MUbL35-w51F1m86J-jzg0vy60S41EJed53E6tXbt-BhF1Dg@mail.gmail.com>

Show all headers | View raw


> On 2018 Jul 20 , at 10:40 a, Mr Guiguilebreton <gmadec101@gmail.com> 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 <clint.hepner@gmail.com>:
> 
> > On 2018 Jul 20 , at 9:27 a, Mr Guiguilebreton <gmadec101@gmail.com> 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'
> 

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: [1] 69728 segmentation fault bash Clint Hepner <clint.hepner@gmail.com> - 2018-07-20 12:18 -0400

csiph-web