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: <34083359.post@talk.nabble.com> Date: Wed, 27 Jun 2012 15:04:38 -0700 (PDT) From: PaulAThompson To: cygwin AT cygwin DOT com Subject: Re: AW: [bulk] - Directory structuring In-Reply-To: <8CCC8F85C5F2784387A32FAD835FB4E60A1D98CECC@server03.company.internal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <34075389 DOT post AT talk DOT nabble DOT com> <8CCC8F85C5F2784387A32FAD835FB4E60A1D98CECC AT server03 DOT company DOT internal> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com DEWI - N. Zacharias wrote: > > > Hi Paul, > >>Von: PaulAThompson >>Gesendet: Mittwoch, 27. Juni 2012 00:09 > >>Betreff: [bulk] - Directory structuring >> >> >>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 > > > [zac] As far as I can reproduce all windows/terminals under cygwin using > the bash. So the reason for your problem might be located somewhere else. > >>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 > > [zac] All of them should work! So what exactly is the reaction you get > from the bash ?? > > Best regards > Norbert > > Thank you for your response. The problem was windows line-endings. A > rigorous and consistent use of d2u on every file I can find fixes the > problem. > > > DEWEK 2012, 11th German Wind Energy Conference, 7-8 November 2012 in > Bremen > http://www.dewek.de/ > > > -------------------------------------------------------------------------- > Dipl. Phys. > Norbert Zacharias > Wind Measurements & Power Curve Measurements > DEWI GmbH > Ebertstrasse 96 > 26382 Wilhelmshaven > Germany > > > Tel.: +49 4421 4808 876 > > Fax: +49 4421 4808 843 > > > Email: N DOT Zacharias AT dewi DOT de > Home: http://www.dewi.de > > DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven > Commercial Register No.: Amtsgericht Oldenburg, HRB 130241 > Managing Director: Jens Peter Molly > > P Please consider the environment before printing this 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-tp34075389p34083359.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