www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/27/18:18:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <34083438.post@talk.nabble.com>
Date: Wed, 27 Jun 2012 15:17:46 -0700 (PDT)
From: PaulAThompson <patjahsd AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Directory structuring
In-Reply-To: <34075389.post@talk.nabble.com>
MIME-Version: 1.0
References: <34075389 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

I have solved this problem. Please do not reply any more.

Solution:

1) Ensure that cygwin was using a cygwin-native perl
2) Routine use of d2u to get the files to have *nix endings for lines not
windows endings



PaulAThompson wrote:
> 
> I am very confused about the correct manner of defining directory paths
> under cygwin, perl, and bash. I cannot determine the correct manner. Using
> the cygwin window, I navigate to locations using 
> 
> cd /cygdrive/c/subdir
> 
> Using a bash shell to run a perl process under the shell and passing in a
> directory, I must use a windows-style specification with *nix forward
> slashes
> 
> c:/subdir
> 
> I have tried a number of manner of using cd within the bash shell to
> change directories without any success
> 
> Is there a simple guide to the path specifications? This seems simple, but
> I cannot figure out the correct specification
> 
> Within the bash shell, I have tried 
> 
> cd /cygdrive/c/subdir
> cd "/cygdrive/c/subdir"
> cd c:/subdir
> cd "c:/subdir"
> 
> None of these work
> 
> 

-- 
View this message in context: http://old.nabble.com/Directory-structuring-tp34075389p34083438.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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