This is the mail archive of the
mailing list for the Cygwin project.
Re: "which" command does not expand "~" in path (base-files update needed)
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 ;-)?
FWIW, /etc/profile does use '~' (in lines 191-195), so the above point is
valid anyway (though by chance, rather than by intention)...
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,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