delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/03/14:10:00

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
From: "Travis Smith" <tazium AT yahoo DOT com>
To: "Cygwin Mailing List" <cygwin AT cygwin DOT com>
Subject: Directories with trailing period.
Date: Sun, 3 Jun 2001 14:07:06 -0400
Message-ID: <IHEAIGPOPDKNBALAMEDOKELPCBAA.tazium@yahoo.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
X-OriginalArrivalTime: 03 Jun 2001 18:09:32.0083 (UTC) FILETIME=[569DC030:01C0EC58]

I have no idea if this is expected behavior.

appending a trailing period (.) to any directory when changing directories
will allow you enter that directory.

In Solaris I know this action fails with bash.

<log>
~ $ cd src
~/src $ cd mud
~/src/mud $ cd logs
~/src/mud/logs $ pwd
/home/Travis/src/mud/logs
~/src/mud/logs $ ll
total 1
drwxr-xr-x   2 Travis   None            0 Jun  3 13:57 ./
drwxr-xr-x   3 Travis   None            0 May 28 15:52 ../
-rw-r--r--   1 Travis   None           67 May 20 16:52 mylog.log
~/src/mud/logs $ cd /
/ $ cd home.
/home. $ cd Travis.
/home./Travis. $ cd src.
/home./Travis./src. $ cd mud.
/home./Travis./src./mud. $ cd logs.
/home./Travis./src./mud./logs. $ ll
total 1
drwxr-xr-x   2 Travis   None            0 Jun  3 13:57 ./
drwxr-xr-x   3 Travis   None            0 May 28 15:52 ../
-rw-r--r--   1 Travis   None           67 May 20 16:52 mylog.log
/home./Travis./src./mud./logs. $ pwd
/home./Travis./src./mud./logs.
/home./Travis./src./mud./logs. $ alias ll
ll="/usr/bin/ls -laF --color=auto"
/home./Travis./src./mud./logs. $
</log>

And sorry, no patch. I haven't even looked at the source for bash before.

~Travis Smith
Systems Admin
tazium at yahoo dot com


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