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


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

Reply via email to