This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is a bug with basename 5.3.0 found in the latest Cygwin 1.5.15.1. This used to work with basename in the March 2003 version. Sorry I don't know the version number any more because the update removed the old version.
$ FCF=N/A $ echo $FCF N/A $ Z=${FCF:(-1)} $ echo $Z A $ FCG=`basename $FCF $Z` $ echo $FCG A <====== should return 'N/'
$ basename NA A N $ basename N/A A A <====== should return 'N/'
$ basename 'NA' A N $ basename 'N/A' A A <====== should return 'N/'
Attachment:
bug.txt
Description: Text document
Attachment:
cygcheck.out
Description: Binary data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |