tcsh filename pattern matching fails
Bug #1898383 reported by
Harry G McGavran Jr
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tcsh (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
TCSH filename pattern matching bug --
To reproduce:
1) Make a subdirectory
2) cd to that subdirectory
3) create or touch the files x1 x2 x3 x4 x5 x6 x7 x8 and x9
4) execute the command:
"echo x[7-9]"
You will see all the files echo, NOT just x7 x8 and x9...
/bin/sh and /bin/bash still do this correctly... but tcsh seems broken!
Description: Ubuntu 20.04.1 LTS
Release: 20.04
tcsh:
Installed: 6.21.00-1
Candidate: 6.21.00-1
Version table:
*** 6.21.00-1 500
500 http://
500 http://
100 /var/lib/
To post a comment you must log in.
Pattern matching is broken in numerous ways in this version.
For example:
echo .[a-z]
will match .. in a directory, which it should definitely not!
Any other shell available does this properly.