X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_YG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4E08D22E.2030009@lysator.liu.se> Date: Mon, 27 Jun 2011 20:55:42 +0200 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Strange cygpath behavior. References: <73619422 DOT 20110621092310 AT mtu-net DOT ru> <4E00321A DOT 30105 AT lysator DOT liu DOT se> <92658329 DOT 20110623165230 AT mtu-net DOT ru> <4E03492D DOT 40109 AT gmail DOT com> <1144668147 DOT 20110623190534 AT mtu-net DOT ru> <4E035F46 DOT 7000207 AT gmail DOT com> <1291997550 DOT 20110623220605 AT mtu-net DOT ru> <4E063FBF DOT 8040103 AT lysator DOT liu DOT se> <48666308 DOT 20110626195750 AT mtu-net DOT ru> <4E07A11F DOT 4050405 AT lysator DOT liu DOT se> <547025238 DOT 20110627173839 AT mtu-net DOT ru> In-Reply-To: <547025238.20110627173839@mtu-net.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Den 2011-06-27 15:38 skrev Andrey Repin: > Greetings, Peter Rosin! > >> As you are apparently using the cmd "shell", the correct way to quote >> arguments in order to preserve spaces etc, is to use double quotes >> and escape all backslashes with an extra backslash. > > Ok, please explain, how could I escape backslashes in, say, Explorer? > It could only quote the string. Search me. > I can't even write my own conversion utility :/ > No amount of external conversion would help using diff or patch freely. It's not the fault of diff or patch that *you* prefer broken crap that *you* can't coerce into feeding the desired arguments. I'm sure it's possible though. Cheers, Peter -- 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