public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: 斟酌鵬兄 <tgckpg@gmail.com>, cygwin@cygwin.com
Subject: Re: cygpath -w space becomes line breaks?
Date: Sun, 1 Nov 2020 23:51:06 +0300	[thread overview]
Message-ID: <162893161.20201101235106@yandex.ru> (raw)
In-Reply-To: <CAJg5x_Yc3riNry_2vEFgH2h8AHs7CqoXmhk0OCn3DMp0Fy7XMQ@mail.gmail.com>

Greetings, 斟酌鵬兄!

Please no top-posting in the list.

> On Sun, Nov 1, 2020 at 11:39 PM Achim Gratz <Stromeko@nexgo.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...

      reply	other threads:[~2020-11-01 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-01 15:17 斟酌鵬兄
2020-11-01 15:38 ` Achim Gratz
2020-11-01 15:43   ` 斟酌鵬兄
2020-11-01 20:51     ` Andrey Repin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=162893161.20201101235106@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=tgckpg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).