Re: cygpath and star character

2021-07-15 Thread Corinna Vinschen via Cygwin
On Jul 14 15:26, Ken Brown via Cygwin wrote: > On 7/14/2021 4:10 AM, Tomas Jura via Cygwin wrote: > > Hi > > > > I found a strange behaviour of the program cygpath program > > > > 0 >cygpath -w "./*/*"   <--- IMHO wrong output > >  \ > > > > 0 >cygpath -w "./*/*"  | od -a   

Re: cygpath and star character

2021-07-14 Thread Sam Edge via Cygwin
On 15/07/2021 00:07, Tomas Jura via Cygwin wrote: Hi My use case is building the CLASSPATH environment variable for java. Like: export CLASSPATH="${CLASSPATH}${PATH_SEPARATOR}$(cygpath -w 'my/java/jar/directory/*' )" CLASSPATH can contain the star character at the end on Windows. Example C:\A

Re: cygpath and star character

2021-07-14 Thread Tomas Jura via Cygwin
Hi My use case is building the CLASSPATH environment variable for java. Like: export CLASSPATH="${CLASSPATH}${PATH_SEPARATOR}$(cygpath -w 'my/java/jar/directory/*' )" CLASSPATH can contain the star character at the end on Windows. Example C:\Apps\java\lib\* , which means something different

Re: cygpath and star character

2021-07-14 Thread Ken Brown via Cygwin
On 7/14/2021 4:10 AM, Tomas Jura via Cygwin wrote: 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 000   o nul   *   \   o nul   *  nl 010 Wh

cygpath and star character

2021-07-14 Thread Tomas Jura via 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 000   o nul   *   \   o nul   *  nl 010 0 >cygpath -wp "./*/*" <-- but this works as exp