delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/26/23:18:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 26 May 2001 23:16:51 -0400
From: linguist-cygwin AT rich-paul DOT net
To: cygwin AT cygwin DOT com
Subject: Possible ~foo expansion bug
Message-ID: <20010526231651.B27144@monster.master-link.org>
Mime-Version: 1.0
User-Agent: Mutt/1.3.16i
X-Operating-System: Linux monster 2.2.18-crypt

I have no users named cd, foo, or bar on my system.  But the
following typo:
  ~cd /opt/masterlink
caused the following response:
  /home/garry:  Is a directory.

So I tried this:
[administrator AT MASTERLINK02]/opt/ml-src/MasterLink.v11
bash-2.05$ echo ~cd
/home/garry
[administrator AT MASTERLINK02]/opt/ml-src/MasterLink.v11
bash-2.05$ echo ~foo
/home/garry
[administrator AT MASTERLINK02]/opt/ml-src/MasterLink.v11
bash-2.05$ echo ~bar
/home/garry
[administrator AT MASTERLINK02]/opt/ml-src/MasterLink.v11
bash-2.05$

This seems very odd.  But even odder ... I just tried to
reproduce this in the window next to the one I'm typing this
message in, and I got the following:

[administrator AT MASTERLINK02]~
bash-2.05$ ~cd /opt/masterlink/
bash: ~cd: command not found

Which is the proper response.  So I'm bewildered, but I'm going
to publish the experience here, since I don't have the address
for the Journal of Irreproducable Results.  (There really is such
a journal, I'm getting subscriptions for both my testers for the
holidays.  :)

I wonder, now, if after I exit this ssh session, this window will
still exibit this behavior.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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