On Sat, Jun 02, 2018 at 09:18:14PM -0700, Thomas Fischer wrote:
> Repeat-By:
> echo {a..z}{a..z}{a..z}{a..z}{a..z}{a..z}
26^6 = 308915776 words of 6 bytes each, plus however much overhead is
involved in constructing a list of 308915776 strings.
You've probably gone well over 2 GB of virtual memor
On 6/3/18 12:18 AM, Thomas Fischer wrote:
> Bash Version: 4.4
> Patch Level: 19
> Release Status: release
>
> Description:
> I was testing brace expansion, and found that if bash uses too much memory
> during the expansion, it will simply be killed.
>
> Repeat-By:
> echo {a..z}{a..z}{a..z}{a..z}
From: thomas
To: bug-bash@gnu.org
Subject: Sequence Brace Expansion Crash
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='l