www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/08/09:15:48

Date: Sun, 8 Aug 1999 14:06:38 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
cc: djgpp-workers AT delorie DOT com
Subject: Re: `which' for 2.03?
In-Reply-To: <199908052031.PAA14249@darwin.sfbr.org>
Message-ID: <Pine.SUN.3.91.990808140619.23423R-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 5 Aug 1999, Jeff Williams wrote:

> It returns a mixture of forward
> and reverse slashes (under bash and DOS), and a mixture of upper and
> lower-case names (under DOS), but hey, I'm not complaining.

The precise way it looks like depends on the way you define PATH.  If
you want the output in canonical form, pass it through the library
function _fixpath.

Alternatively, create a [which] section in your DJGPP.ENV and
configure it to down-case and mirror all backslashes in PATH, like
this:

     [which]
     PATH=%/>PATH%

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019