delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/01/06:17:49

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 818D43896830
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1614597465;
bh=/9kz8jjnAy0ZmX1WJ78lwRPMYhVGe6iJgjgu9/Z4+Ho=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=I66GXQ+YOW4AE9hEbDcFN6jq8VM/hiWKq781SXFcgc9gZKTAkIf8cDV7Einzw1lRP
RHx5enUJA90oZj0XPU3BMDDXoLDiy1iY5cwZnsoRxjdj3A98HqmXuV3MdlsMo8TNMB
iqsEFz8FZbU/pVGGVl+hxChspNZWIKaj6t9HfkHM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 285EE3896830
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=LycH/uFOlpFAZRfUM7+xIhXUM/rG7X2eHuBkNSggRHwAEPeEKON7i84kLVpHG0eJ2xJh/z4ClbGKR8JKmHeG5Pgs8AVSD34W+A/Uagjq7O/24wRDbBKA3OSlEj1WRDVp98jXiRP0ubA2PzyHbncEfL/CS0bY5PV2DmvnU5xRxPsr5gb94lAbmTcH/PQWS/NfAPmhbHXHYog8pPcs45c+TMNE5k9RT6sPY64uP0IESQrVPnElpNF8m/+CD6C5EVQUAVry34rzMZRcHxPHmkYka8dakce0GEEokeHiF0crlj6RQ1si+V0lLQaQRk7jEfmBO0mccPWBx57SP4KuFUUhpA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=0x8+Jiyg5/c1JgfqN6fpgr+8RlZMxzyw4VqOcyw5Xh0=;
b=E+jONS5YqBGdH44iU5Gev+CLdZ4zg1dsFevlk/KmwztjdqSP2verLRhvRDBzNn1vn4vYPPaqa7yxPS/3j7tOVqbPHEog0y0L+JdZg4LFRjlLFFfSHPRXXsOQh636EN89zqDhwDqUPNCGx7XWBwHoreacZ3Ce9e1TZSVQsBo/W6JBHr//kSHo9WJi5XchoNBN/MyPQcMEGxJWTeLrF/z8CdP9er771NAbaPnkvruEtBztFL7UVr8iznmMwb/buKbV5dFA9gb8VFcLM4m+/4NZy1dVRDvXGYNu9t/SlnrsvRQDQDF2GwXl0xatMhn5vbb5ULSkl1U8hPpSH+7ONO3Srg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: bug in cygstart utility
Thread-Topic: bug in cygstart utility
Thread-Index: AQHXDosJkZwncKcrnEy4k2Jg/U9Vog==
Date: Mon, 1 Mar 2021 11:17:40 +0000
Message-ID: <PA4PR03MB69437E82C15ECDD7203A8506FB9A9@PA4PR03MB6943.eurprd03.prod.outlook.com>
Accept-Language: en-GB, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:4FE5A6D7E6F86AA831078B530580BB67B9A8E2D05ACBBEA38E539327FB4A7B05;
UpperCasedChecksum:7EEC662EC42B1930E5F9A6A74DFE0ACD63B7D4B358D3D23CEB1DD1E376617323;
SizeAsReceived:6628; Count:41
x-tmn: [0tm5UxaHSwnlQT5mrRmDQL6jRn81tE6J2y4O4jFYcRw=]
x-ms-publictraffictype: Email
x-incomingheadercount: 41
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: 5bd1d462-0a37-406b-c573-08d8dca3a09e
x-ms-traffictypediagnostic: HE1EUR04HT175:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 9jPBe3BoqsboLxBuKbjVL2DIQlgRlVk0i+VHc69nmfur/RRtij4AlyACETRoKvxpWQo4kIkhg2yHoamVqcQvDHD4MmmnpupT1IrMsRai5ekHkJfhs9yyrxFHWCsSv1uKAqn4kaeFDsgoEyvJpFaR7E4Iet/6/ZxyXj4SMWpQxXsVUTFobGGDDHuCL48NnUsWQOmvMpw7w2tRsOkZHC2ahy5ZR/FYDLE9WVhMZ+WbFCXNkmcZoyKhiLxXwBHQgw79scZiefCix2E70HNzVWmnU4q5eP54S/9X9wWQrD4mwh6vc6SzUeLTliYCq92amf1Dx5Y9tVmL8vp1qk9qbNCOqx+YMxc0W+CgVyV6J3GTmBtzk2WqHp3B1ZvCr5YW9ZK8IX65b4CmP/BLLShca31YtQ==
x-ms-exchange-antispam-messagedata: IDZRy10jC6661QsD75UeChwD6O4CgUBkItdKPSx0psRHusEzL+TYKIwXUslONnZWalDVIRX+li8akCXIVF6jW6LALWr37rMU7e1yhRL/SK3r8x/HOfQrOl09LZ/+WL+Yz2c0H+p7zB647vNHSfqBsg==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT005.eop-eur04.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 5bd1d462-0a37-406b-c573-08d8dca3a09e
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2021 11:17:40.2856 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT175
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,
FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, KAM_COUK,
KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, 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-Content-Filtered-By: Mailman/MimeDel 2.1.29
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-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: John Vincent via Cygwin <cygwin AT cygwin DOT com>
Reply-To: John Vincent <jpv50 AT hotmail DOT co DOT uk>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 121BHnYQ023395

Hi,

I'm running cygwin on Windows 10, using UTF8 in English. I run cygwin bash inside a cygwin mintty terminal. I've noticed a minor problem when using cygstart with wildcard parameters.

I type:

  cygstart *.??p

If there is a matching file then everything works as I expect. However if there is no matching file I get an error message as follows:

Unable to start '.p': The specified file was not found.

When I look at this using the "od" command I see the following:

$ cygstart *.??p 2>&1 | od -tx1 -c
0000000  55  6e  61  62  6c  65  20  74  6f  20  73  74  61  72  74  20
          U   n   a   b   l   e       t   o       s   t   a   r   t
0000020  27  ef  80  aa  2e  ef  80  bf  ef  80  bf  70  27  3a  20  54
          ' 357 200 252   . 357 200 277 357 200 277   p   '   :       T
0000040  68  65  20  73  70  65  63  69  66  69  65  64  20  66  69  6c
          h   e       s   p   e   c   i   f   i   e   d       f   i   l
0000060  65  20  77  61  73  20  6e  6f  74  20  66  6f  75  6e  64  2e
          e       w   a   s       n   o   t       f   o   u   n   d   .
0000100  0a
         \n
0000101

It looks to me like cygstart is not outputting the correct UFT-8 for either the * character or the ? character. I think this is a bug.

Thanks,

John Vincent.

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