error in "cygpath" behavior

Steven Penny svnpenn@gmail.com
Fri Aug 31 15:29:00 GMT 2018


It is my understanding that given relative input, "cygpath" shall produce
relative output unless given "-a" option. However I noticed a discrepancy. These
are all correct:

    $ cygpath .
    .

    $ cygpath ..
    ..

    $ cygpath -w .
    .

This is not:

    $ cygpath -w ..
    C:\cygwin64\home\


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list