bug-bash
[Top][All Lists]
Advanced

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

Re: bash "extglob" needs to upgrade at least like zsh "kshglob"


From: Greg Wooledge
Subject: Re: bash "extglob" needs to upgrade at least like zsh "kshglob"
Date: Fri, 28 Oct 2022 11:35:55 -0400

On Fri, Oct 28, 2022 at 03:44:34PM +0900, Hyunho Cho wrote:
> # this is just for testing purposes.
> $ foo=$( gcc -v --help 2> /dev/null | sed -En 's/^\s*(-[^ ]+).*/\1/p' )

The last time this issue was reported, we mentioned that "gcc --help"
is not a standard document that appears the same on everyone's systems.

I'm not disputing that bash has performance issues here, but in the
interests of getting a coherent bug report (or feature request), please
use input that's available to everyone.

At the very least, show us the output of "gcc -v --help 2>/dev/null | wc"
on your system, so we have a ballpark estimate of the size of the input
and the number of words in it.

On my system, as an example:

unicorn:~$ gcc -v --help 2>/dev/null | wc
   3867   22464  250924
unicorn:~$ gcc --help 2>/dev/null | wc
     61     430    3995



reply via email to

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