This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Paths and Cygwin
-----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/