From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5984 invoked by alias); 26 Jun 2012 22:35:02 -0000 Received: (qmail 5888 invoked by uid 22791); 26 Jun 2012 22:35:01 -0000 X-SWARE-Spam-Status: No, hits=-1.8 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; Tue, 26 Jun 2012 22:34:48 +0000 Received: from telerig.nabble.com ([192.168.236.162]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SjeLQ-0001RN-HM for cygwin@cygwin.com; Tue, 26 Jun 2012 15:34:48 -0700 Message-ID: <34075497.post@talk.nabble.com> Date: Tue, 26 Jun 2012 22:35:00 -0000 From: PaulAThompson To: cygwin@cygwin.com Subject: Re: Directory structuring In-Reply-To: <4FEA3545.5030507@cygwin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <34075389.post@talk.nabble.com> <4FEA3545.5030507@cygwin.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/msg00497.txt.bz2 Larry Hall (Cygwin-X) wrote: > > On 6/26/2012 6:09 PM, 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 > > If you're using Cygwin's Perl, then you don't need to worry about > windows-style paths. If you must, for some reason, use the Windows-native > Perl, then check out 'man cygpath'. It will handle the file path > conversions for you so you can stick with POSIX paths when you type. > > > > Thanks, Larry, you pointed me in the direction of checking my install. I > did not have the cygwin perl installed. I will add that, and check again. > > -- > Larry > > _____________________________________________________________________ > > A: Yes. > > Q: Are you sure? > >> A: Because it reverses the logical flow of conversation. > >>> Q: Why is top posting annoying in email? > > -- > 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 > > > -- View this message in context: http://old.nabble.com/Directory-structuring-tp34075389p34075497.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