delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/01/16:05:59

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?= <tgckpg AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: cygpath -w space becomes line breaks?
In-Reply-To: <CAJg5x_Yc3riNry_2vEFgH2h8AHs7CqoXmhk0OCn3DMp0Fy7XMQ@mail.gmail.com>
References: <CAJg5x_ZYpRfkd36o1dmB89s_1FPGe1rwdaejDbN3qaH-a3DpnA AT mail DOT gmail DOT com>
<87d00xgk9c DOT fsf AT Rainer DOT invalid>
<CAJg5x_Yc3riNry_2vEFgH2h8AHs7CqoXmhk0OCn3DMp0Fy7XMQ AT mail DOT gmail DOT com>
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
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 <Stromeko AT nexgo DOT de> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019