From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6773 invoked by alias); 27 Jun 2012 22:17:59 -0000 Received: (qmail 6765 invoked by uid 22791); 27 Jun 2012 22:17:58 -0000 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 Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Jun 2012 22:17:46 +0000 Received: from telerig.nabble.com ([192.168.236.162]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Sk0YU-0004Jr-86 for cygwin@cygwin.com; Wed, 27 Jun 2012 15:17:46 -0700 Message-ID: <34083438.post@talk.nabble.com> Date: Wed, 27 Jun 2012 22:17:00 -0000 From: PaulAThompson To: cygwin@cygwin.com Subject: Re: Directory structuring In-Reply-To: <34075389.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <34075389.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-06/txt/msg00522.txt.bz2 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