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


Groups > gnu.bash.bug > #14374 > unrolled thread

Re: [1] 69728 segmentation fault bash

Started byClint Hepner <clint.hepner@gmail.com>
First post2018-07-20 12:18 -0400
Last post2018-07-20 12:18 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#14374 — Re: [1] 69728 segmentation fault bash

FromClint Hepner <clint.hepner@gmail.com>
Date2018-07-20 12:18 -0400
SubjectRe: [1] 69728 segmentation fault bash
Message-ID<mailman.3908.1532103516.1292.bug-bash@gnu.org>
> 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'
> 

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web