Re: Parameter Substitution Causing Memory Leak

2014-01-07 Thread Chet Ramey
On 1/7/14, 3:18 PM, Todd B. Stein wrote: > These bugs result in gradual slowdown of indefinitely-running scripts which > rely on parameter substitution (rather than forking sed or awk) for speed > and efficiency. Forgive me if I used the wrong terminology, but whether > these bugs are considered ho

Re: Parameter Substitution Causing Memory Leak

2014-01-07 Thread Yuri
On 01/07/2014 12:18, Todd B. Stein wrote: These bugs result in gradual slowdown of indefinitely-running scripts which rely on parameter substitution (rather than forking sed or awk) for speed and efficiency. Forgive me if I used the wrong terminology, but whether these bugs are considered honest-

Re: Parameter Substitution Causing Memory Leak

2014-01-07 Thread Todd B. Stein
These bugs result in gradual slowdown of indefinitely-running scripts which rely on parameter substitution (rather than forking sed or awk) for speed and efficiency. Forgive me if I used the wrong terminology, but whether these bugs are considered honest-to-goodness "memory leaks" by valgrind seems

Re: Parameter Substitution Causing Memory Leak

2014-01-07 Thread Chet Ramey
On 1/7/14, 2:27 AM, toddbst...@gmail.com wrote: > Repeat-By: > These can all be demonstrated by running a script consisting of an > infinite loop which repeatedly executes any command utilizing any of the > above examples. Like this: > > #!/bin/bash > > while