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@byu.net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: cygwin@cygwin.com
CC: jgriffin <jgriffin@pclnet.net>
Subject: Re: Paths and Cygwin
References: <20060209145338.M55639@pclnet.net> <Pine.GSO.4.63.0602091039220.6049@access1.cims.nyu.edu>
In-Reply-To: <Pine.GSO.4.63.0602091039220.6049@access1.cims.nyu.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@byu.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/

