X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 492603846411 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1604264711; bh=Eo07Rr55vTTDSiFwmPw7rL8MryOAzL/Gf/1uZ55DtVI=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=phB2vm9GROZuycoBgsBIr8z+pextgxxptN8zx9ZhJgBwZYFt5vPjHAcdyAJt5kQnT yUM+BGj/TIdXvdX+t8yYRcNWuW6N8sCCF/D6yo7Fg+kG1x0uZPj9Rm3nHlfND9RjJ+ YK69Bs7+qjxafb18LI5TM/1g6l5TH+qru1s32aJY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 913303858D37 Date: Sun, 1 Nov 2020 23:51:06 +0300 X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <162893161.20201101235106@yandex.ru> To: =?utf-8?B?5paf6YWM6bWs5YWE?= , cygwin AT cygwin DOT com Subject: Re: cygpath -w space becomes line breaks? In-Reply-To: References: <87d00xgk9c DOT fsf AT Rainer DOT invalid> MIME-Version: 1.0 X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrey Repin via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Andrey Repin Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0A1L5eq4000661 Greetings, 斟酌鵬兄! Please no top-posting in the list. > On Sun, Nov 1, 2020 at 11:39 PM Achim Gratz wrote: >> >> > Is this intended or am I misconfiguring something? >> >> You have to quote any arguments that may contain spaces in the shell, >> else they get parsed as separate words and later interpreted as separate >> arguments to cygpath. > Ooooh thanks I do it like cygpath -w "`pwd`" and now it works now. There's an easier way to achieve the same without a subshell call. cygpath -alw . -- With best regards, Andrey Repin Sunday, November 1, 2020 23:50:08 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple