Re: How to test if a link exists

2013-06-23 Thread Dave Gibson
Mark Young wrote: > Hi, > > I stumbled into discovering that the -e test for a file does not > report the file as existing if the file is a dead symbolic link. It's documented in the bash manpage under "CONDITIONAL EXPRESSIONS". Unless otherwise specified, primaries that operate on files fol

Re: Missing "#if defined (JOB_CONTROL)" line in execute_cmd.c.

2013-06-23 Thread Chet Ramey
On 6/19/13 11:54 AM, DJ Mills wrote: > On Mon, Jun 17, 2013 at 11:53 AM, Brooks Moses wrote: > >> >> (When is bash 4.3 expected?) >> >> - Brooks >> >> > Whenever it's ready. The version in the devel branch is already the bash-4.3-beta code. I have to do the release engineering. After that we'l

Debugging memory usage

2013-06-23 Thread Bob Bell
I have a fairly involved script that handles some build management tasks, which can run for as long as several hours. I've recently seen it fail primarily due to failures to fork due to insufficient memory. I took a look and saw the bash process consuming as much as 3+ GB of memory. I'm not