delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/28/15:38:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 28 Sep 2004 15:40:18 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: "which" command does not expand "~" in path (base-files update needed)
Message-ID: <20040928194018.GR26145@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <NUTMEGCtgx8VUkRacUt0000013f AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <NUTMEGyMp69YDqSkcJs00000140 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
In-Reply-To: <NUTMEGyMp69YDqSkcJs00000140@NUTMEG.CAM.ARTIMI.COM>
User-Agent: Mutt/1.4.1i

On Tue, Sep 28, 2004 at 06:49:44PM +0100, Dave Korn wrote:
>  Wonder if this is a real bug then, or if I've misread the shell parsing rules?
>They are a bit ridiculously complicated and full of exceptions and special
>cases.....

It seems like it's a bug.

Of course there is a simple solution: lose the quotes.  AFAICT, they
aren't needed.

export PATH=~/bin:$PATH

cgf

--
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/

- Raw text -


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