[Top][All Lists]

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

Re: [Help-bash] deallocation of brace expanded variable

From: Bob Proulx
Subject: Re: [Help-bash] deallocation of brace expanded variable
Date: Thu, 11 Sep 2014 14:58:18 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

Sebastian Eiser wrote:
> I'm not sure if this is intended behaviour or not, but it seems that a
> brace expanded variable is not deallocated:
> for i in {1..10000000}; do echo -n; done

This gets discussed every so often.  Please read this thread and here
is my comment about it.


Basically don't create an unreasonably large number of program arguments.
Instead do what Greg suggested and generate one argument at a time.


reply via email to

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