From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 84786385DC3B for ; Wed, 14 Jul 2021 08:10:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 84786385DC3B Received: by mail-ej1-x630.google.com with SMTP id gb6so1952905ejc.5 for ; Wed, 14 Jul 2021 01:10:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=iBccXDLSwyXfVDI1VnjHYkjQQJObvXYP+bJKLfNWbjE=; b=IsS0E9IlNTgbuhz+5F2ehtniIPuVx70GeXiN2rHGAr4CzOyYJ0A5Wu7I7SoPshRg6i UZgbQmmPc5+5hX1HcvrUjTBpdTzCEq5JnJo0ePbCR6IRENx0J2aLjRFA54YOKkCeW1vt NARfGnRGDUWvEBmr+8yH6cpjiykqaKzqvg5ld1cNJsGzf01q1iOUhkX+AfoZLLb9gnva qMxpizLr/DLpuR/HWKTjD8rjLSHN/TB00UN/ZDPcOP25cSZUP66J42+SmB/VsH3m82Zb uSf6BzBVyuB+LrDOUimb/DISJe5MOeLDxj7zN64FllcfpsWx/YG8RsRydEGU48gH5AA8 Po+w== X-Gm-Message-State: AOAM533VO9twLx2NmdCJ6XFcuSeuTkFJxlST3WPMGGuP2Kdhsu0s++Vp iOLPeo3tbRO220XkS4XfZqevD/scqNE= X-Google-Smtp-Source: ABdhPJw0xQml6Y/KZmUjXQtBtlzt0fvoHxKyA+Kw41hbZSQtYSi7QH4V05yGe/YshM51bOA8u7kosw== X-Received: by 2002:a17:906:814f:: with SMTP id z15mr11187255ejw.178.1626250229567; Wed, 14 Jul 2021 01:10:29 -0700 (PDT) Received: from [192.168.0.2] (ip-89-176-51-83.net.upcbroadband.cz. [89.176.51.83]) by smtp.gmail.com with ESMTPSA id op26sm470811ejb.27.2021.07.14.01.10.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Jul 2021 01:10:28 -0700 (PDT) To: cygwin@cygwin.com From: Tomas Jura Subject: cygpath and star character Message-ID: <7fa873dc-e4cb-8217-5844-82db627bd871@gmail.com> Date: Wed, 14 Jul 2021 10:10:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.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: , X-List-Received-Date: Wed, 14 Jul 2021 08:10:31 -0000 Hi I found a strange behaviour of the program cygpath program 0 >cygpath -w "./*/*"           <--- IMHO wrong output  \ 0 >cygpath -w "./*/*"  | od -a                   <--- a detailed dump 0000000   o nul   *   \   o nul   *  nl 0000010 0 >cygpath -wp "./*/*"         <-- but this works as expected *\* Is this bug or expected behavior ? Pls, answer to me in To:, I'm not a permanent member of the cygwin email list. I found it during assembly of the Java CLASSPATH variable, which may contain the "*" character at the end to cover all .jar in the specified directory. Tomas