From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Tue, 4 Apr 2000 13:04:04 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Bash 2.04 beta 1 now available Message-ID: <38E9E844.8417.11C6D0@localhost> References: <38E9BD58 DOT 12598 DOT 200F30 AT localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com > Is it possible to transform PATH in a single function, and then call that > functions from each place where Bash invokes subsidiary programs? The transforming of the PATH env. variable still works when 'PATH_SEPARATOR=:'. That isn't affected by PATH_EXPAND anyway. The part that was removed is the ugly code that detects and fixes up 'prog.exe /dev/c/djgpp/bin' to 'prog.exe c:/djgpp/bin'. This is the part that has to be redone. Bash does use a function to return an argv[] array based on Bash's internal argument list, but I haven't looked yet to see if it can be used. Mark