delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/15/10:01:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3715F094.2B4D9A82@mitre.org>
Date: Thu, 15 Apr 1999 09:58:44 -0400
From: Tim Taylor <ttaylor AT mitre DOT org>
Organization: The MITRE Corporation
X-Mailer: Mozilla 4.51 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT sourceware DOT cygnus DOT com>
Subject: Strange Bash Problem

--------------7EE900EEDD73D59704DD6E25
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I'm seeing strange errors from a bash shell using the B20.1 release.

Here's the situation:
1) The DOS path G:\ is mounted at /cygdrive/g
2) My current directory is 3 subdirectories from the root, though I've
seen it with any number (/cygdrive/g/a/b/c).
3) There is a shell script I want to execute in the parent directory
(/cygdrive/g/a/b/script)

The Problem:
From the directory /cygdirve/g/a/b/c if I type the following at the bash
prompt:
../script

I get the following error message:
../../script: Can't open ../../script

If I move down another level, and type
../../script

I get the following error message:
../../../../script: Can't open ../../../../script

Whatever relative path I add gets doubled.  If I specify the absolute
path:
/cygdrive/g/a/b/script
then everything works.

Has anyone seen this behavior before and know how to fix it?
- Tim

--
======================================================================
 Timothy L. Taylor                        Internet: ttaylor AT mitre DOT org
 Lead Software Systems Engineer              Voice: (781) 271-8770
 The Mitre Corporation                         Fax: (781) 271-7231
 202 Burlington Rd.                      Mail Stop: B295
 Bedford, Massachusetts 01730-1420
======================================================================


--------------7EE900EEDD73D59704DD6E25
Content-Type: text/x-vcard; charset=us-ascii;
 name="ttaylor.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Tim Taylor
Content-Disposition: attachment;
 filename="ttaylor.vcf"

begin:vcard 
n:Taylor;Tim
x-mozilla-html:FALSE
org:The Mitre Corp.
adr:;;202 Burlington Rd. MS/H134;Bedford;MA;01730;USA
version:2.1
email;internet:ttaylor AT mitre DOT org
title:Lead Software Systems Engineer
tel;fax:(617) 271-7063
tel;work:(617) 271-8770
x-mozilla-cpt:;0
fn:Tim Taylor
end:vcard


--------------7EE900EEDD73D59704DD6E25
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
--------------7EE900EEDD73D59704DD6E25--


- Raw text -


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