Re: cygpath and partial normalization of trailing /.

2015-10-05 Thread Andrey Repin
Greetings, Poor Yorick! > Currently, in a sh shell, > cygpath 'c:\windows' > returns > /cygdrive/c/windows > and > cygpath 'c:\windows\.' > returns > /cygdrive/c/windows/ > . With the -m switch, the same pattern is followed, and in the case of > a > trailing, \. sequenc

Re: cygpath and partial normalization of trailing /.

2015-10-05 Thread Jan Nijtmans
2015-10-05 14:29 GMT+02:00 Poor Yorick: > Rather than normalizing half of it away and leaving half of it, Wouldn't it > be > better to either not normalize the trailing slash-dot sequence at all, or to > completely normalize it away? If that which is delimited is removed, it > would > seem to make

cygpath and partial normalization of trailing /.

2015-10-05 Thread Poor Yorick
Currently, in a sh shell, cygpath 'c:\windows' returns /cygdrive/c/windows and cygpath 'c:\windows\.' returns /cygdrive/c/windows/ . With the -m switch, the same pattern is followed, and in the case of a trailing, \. sequence, the dot is removed but the backslash is retaine