Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 28 Sep 2004 13:27:36 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: "which" command does not expand "~" in path (base-files update needed)
In-Reply-To: <Pine.CYG.4.58.0409281219250.2292@fordpc.vss.fsi.com>
Message-ID: <Pine.GSO.4.61.0409281326170.4220@slinky.cs.nyu.edu>
References: <6.1.2.0.1.20040929010527.027f4eb0@mail.ros.com.au> <20040928153144.GM26145@trixie.casa.cgf.cx> <Pine.GSO.4.61.0409281308460.4220@slinky.cs.nyu.edu> <Pine.CYG.4.58.0409281219250.2292@fordpc.vss.fsi.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.39

On Tue, 28 Sep 2004, Brian Ford wrote:

> On Tue, 28 Sep 2004, Igor Pechtchanski wrote:
>
> > Oh, and your suggestion definitely won't work for sh, which also uses
> > /etc/profile.  IMO, any shell-specific code in /etc/profile should go
> > into the shell-specific section of /etc/profile, and the rest of it
> > should be Bourne shell compatible.
>
> Agreed, but aren't we talking about .bash_profile here ;-)?

Ugh.  Yes.

FWIW, /etc/profile does use '~' (in lines 191-195), so the above point is
valid anyway (though by chance, rather than by intention)...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

