Bug 25341 - tcsh 6.21.00 globbing of character ranges is broken
Summary: tcsh 6.21.00 globbing of character ranges is broken
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Christiaan Welvaart
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-22 15:03 CEST by Ralf Brown
Modified: 2019-08-25 19:22 CEST (History)
4 users (show)

See Also:
Source RPM: tcsh-6.21.00-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Ralf Brown 2019-08-22 15:03:07 CEST
When using a character range such as [2-9] on the commandline, it matches files containing other characters at that position.

Example:
    touch a_0 a_1 a_2
    ls a_[2-9]
displays all three files instead of just a_2 as expected.
    ls a_[a-z]
*also* displays all three files insted of a "no match" error.
    ls a_[0-1]
works as expected, so it appears that "[X-Y]" is effectively "[\0-Y]"

Globbing in tcsh 6.20.00 from mga7 works as expected.
Comment 1 Marja Van Waes 2019-08-24 19:41:37 CEST
Assigning to all packagers collectively, since there is no registered maintainer for this package.
Also CC'ing some committers.

CC: (none) => cjw, geiger.david68210, mageia, marja11
Assignee: bugsquad => pkg-bugs

Comment 2 Christiaan Welvaart 2019-08-25 19:22:52 CEST
Thanks for reporting this problem. It was already reported upstream and fixed in upstream git, and now it is also fixed in cauldron with tcsh 6.21.00-2.mga8 .

Assignee: pkg-bugs => cjw
Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.