delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <43F331D9.3030703@byu.net> |
Date: | Wed, 15 Feb 2006 06:51:21 -0700 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
CC: | jgriffin <jgriffin AT pclnet DOT net> |
Subject: | Re: Paths and Cygwin |
References: | <20060209145338 DOT M55639 AT pclnet DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0602091039220 DOT 6049 AT access1 DOT cims DOT nyu DOT edu> |
In-Reply-To: | <Pine.GSO.4.63.0602091039220.6049@access1.cims.nyu.edu> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Igor Peshansky on 2/9/2006 8:51 AM: > >>Input: ./mkdirhier.sh "/home/jgriffin/test/level1/level2" >& out.txt >>[snip] >>Here's the output: >>prefix: / >>mkdir: cannot create directory `//home': No such file or directory > > > None of the above is Cygwin-specific, BTW -- except for the fact that > Linux will treat a leading "//" as a "/" (masking the bug), and Cygwin > interprets it as a network share prefix (also, filenames with spaces are a > bit more common on Cygwin). Furthermore, what's wrong with 'mkdir -p "/home/jgriffin/test/level1/level2'? Let the standardized coreutil do all the work for you, in just one process, rather than invoking the several processes of your expensive shell script! - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD8zHZ84KuGfSFAYARAp2QAJ4tA4yAFaGk4fvVNfOMxsCJmsKgIwCdGaJw 52oB0EQfZZwJyYPz83oTrSw= =B0/i -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |