Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14371 > unrolled thread
| Started by | Clint Hepner <clint.hepner@gmail.com> |
|---|---|
| First post | 2018-07-20 10:17 -0400 |
| Last post | 2018-07-20 10:17 -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.
Re: [1] 69728 segmentation fault bash Clint Hepner <clint.hepner@gmail.com> - 2018-07-20 10:17 -0400
| From | Clint Hepner <clint.hepner@gmail.com> |
|---|---|
| Date | 2018-07-20 10:17 -0400 |
| Subject | Re: [1] 69728 segmentation fault bash |
| Message-ID | <mailman.3895.1532096255.1292.bug-bash@gnu.org> |
> 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 top | Article view | gnu.bash.bug
csiph-web