delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/14/22:39:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=pt3hp1j
PkhitTs1uyU2Ir89lMz6fRB55Ql+wXR22uZFNRx/MMxU6gUb642oLqiFtZ3Rh+az
lzbjiUK2WeWLMfM88miqm1Hypjg+IwzpBqs6V8RL/TRCm15vBLnq/24BRBDk7hwl
W/0os7Wl5p1hHGeLFknpuISjkmk5LkqsFJ/Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=3XeMoLCGIkKge
RjGiCnV2c38wWw=; b=RxlpdhIqB+AUh+wm2ALRzFcA9q+echeOIoFvQC/ZrJLOe
9SfP60No9uDnAZloWBqO+6p1zkMz5H4drivjPuiAmyyJsg1dNYt94ISxCejXgiwv
Ts1lRWyoSJYnnN8rRtFAY9jR+5equQk2drB+Xc3oXoZxxQsSyE51GSPX0LuPNc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=sk:briani, sk:BrianI, U*Brian.Inglis, sk:Brian.I
X-HELO: mail-wm0-f43.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=zWQbyje6/PH9wI56XuFGqOYphnTu6A57h+gnl/Ku4Vo=; b=D5Gy6Ap7ZXIgX4p7/g0amcduuKemaRAks4a9coRnbM8QwccsxJopfB9O7r7/mhEIQU OUN0Om+WuGXnYI3p9Ls9bdGO8/Qqt7ZlqHNr2mPaWkqTTuw89GLvUgGfYih2WTUbdgBm dBEPoRkp3upCSyRBllZ4imBZJ/OGleTnvL3mQCn6AeylQdgDxdZBhR8bTxprlm7I7245 gtMI0cNdRy5mssJoWHDuDlwYgJnytlwEgi5B2KMGNwT04HA3A9eeLHgNDsk1An++ajeN 80E7kIwi5ZzKfYa65HDkQ1fJmtKQrkcanI4YtnPqFql3puuLKOJoexQjJYewMcosB+Pz chZg==
X-Gm-Message-State: ABUngvfWt/RiIkSk5YRtWsDfj0CJCitiYsZ1UMuNIPluPkE0BJiCbHerYi3sKbbhF6zOUV7WffPJ7hlOWseXKA==
X-Received: by 10.194.127.104 with SMTP id nf8mr21684630wjb.39.1479181013968; Mon, 14 Nov 2016 19:36:53 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <85fb010a-4fb5-1455-af6b-32e95048964c@SystematicSw.ab.ca>
References: <CAK0ZC5Uj8Z_uf_1nKUegt84Qn+OHiwsMVC_SO8AjFrrpUCQv1g AT mail DOT gmail DOT com> <CA+Fg1xZFpb5uBbkP4KQxsZUvkjQETY4VjR0Y4k+Oe_D5DE0u9w AT mail DOT gmail DOT com> <85fb010a-4fb5-1455-af6b-32e95048964c AT SystematicSw DOT ab DOT ca>
From: OwN-3m-All <own3mall AT gmail DOT com>
Date: Mon, 14 Nov 2016 20:36:53 -0700
Message-ID: <CAK0ZC5X=jTLPhEPqJ=fJ30V=gcwxjD+xno=6bHcfDZkzQXSVjw@mail.gmail.com>
Subject: Re: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Thanks guys.  That was it.  I decided to remove the trailing slash for
my purposes.

set WD=%~dp0
set WD=%WD:~0,-1%

It's working now!

On Mon, Nov 14, 2016 at 12:23 PM, Brian Inglis
<Brian DOT Inglis AT systematicsw DOT ab DOT ca> wrote:
> On 2016-11-14 07:43, Gerrit Haase wrote:
>>
>> 2016-11-13 23:19 GMT+01:00 OwN-3m-All wrote:
>>>
>>> I'd like to automate Cygwin installation, but I don't want to rule
>>> out the possibility that a path with a space will not be used.
>>
>>
>> You'll get a warning from Setup: it is strongly recommended, to use a
>> root path without spaces.
>
>
> I'd go further - it is strongly recommended that you use only a subset
> of printable ASCII characters to avoid problems with Windows OEM and
> NLS code pages, and Cygwin mapping of some characters to UTF-16 user
> defined supplementary characters, understood only by Cygwin internals,
> for POSIX compatibility.
> So disallow names with anything disallowed by Windows:
>         "*/:<>?\|
> or outside the [!-~] range leaving [!#-)+-.0-9;=@-[\]-{}~]
> It would also be sensible to disallow anything interpreted by shells,
> including cmd, or programs, to avoid issues:
>         !#$%&'();[]`{}
> reducing the set to [+-.0-9=@-Z^_a-z~] i.e.
>         +,-.=@^_~
> plus digits and letters, to maintain interoperability without issues.
> Leading -.@~ should be disallowed as they have special meaning, and
> trailing ~ is questionable as it is often used for backup files,
> removed by cleanup scripts, so you might also want to disallow these.
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
>
> --
> 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
>

--
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

- Raw text -


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