public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygpath and star character
@ 2021-07-14  8:10 Tomas Jura
  2021-07-14 19:26 ` Ken Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Tomas Jura @ 2021-07-14  8:10 UTC (permalink / raw)
  To: cygwin

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-15  9:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14  8:10 cygpath and star character Tomas Jura
2021-07-14 19:26 ` Ken Brown
2021-07-14 23:07   ` Tomas Jura
2021-07-15  6:18     ` Sam Edge
2021-07-15  9:11   ` Corinna Vinschen

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