This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: "which" command does not expand "~" in path (base-files update needed)
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 29 Sep 2004 12:19:14 +0100
- Subject: RE: "which" command does not expand "~" in path (base-files update needed)
> -----Original Message-----
> From: cygwin-owner On Behalf Of Corinna Vinschen
> Sent: 29 September 2004 09:55
> On Sep 28 15:40, Christopher Faylor wrote:
> > 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.
>
> AFAICT, bash behaves according to its man page:
>
> QUOTING
> [...]
> Enclosing characters in double quotes preserves the lit-
> eral value of all characters within the quotes, with the
> exception of $, `, and \.
>
Well, yeh, but, like, y'know, the tilde was _outside_ the quotes. YMKMC! :)
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/