tcsh regex []

Asked by Łukasz Dudek

is it a bug ?

on 18.04.4

~/Temp/t> tcsh --version
tcsh 6.20.00 (Astron) 2016-11-24 (x86_64-unknown-linux) options wide,nls,dl,al,kan,sm,rh,nd,color,filec
~/Temp/t> ls
1 2 3 4 5
~/Temp/t> ls [2-3]
2 3
~/Temp/t> ls [1-3]
1 2 3

however on 19.10

~/Temp/t>> tcsh --version
tcsh 6.21.00 (Astron) 2019-05-08 (x86_64-unknown-linux) options wide,nls,dl,al,kan,sm,rh,nd,color,filec
~/Temp/t>> ls
1 2 3 4 5
~/Temp/t>> ls [1-3]
1 2 3
~/Temp/t>> ls [2-3]
1 2 3

which is a problem.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a apt-cache policy tcsh

Thanks

Revision history for this message
Łukasz Dudek (ldudek) said :
#2

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan
Linux xxx-zzz 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
tcsh:
  Installed: 6.21.00-1
  Candidate: 6.21.00-1
  Version table:
 *** 6.21.00-1 500
        500 http://pl.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Łukasz Dudek (ldudek) said :
#3

and the problem doesnt seem to be solly related to tcsh version 6.20 vs 6.21 as on my FreeBSD box

tcsh 6.21.00 (Astron) 2019-05-08 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec

:~/Temp/t>> ls
1 2 3 4 5
:~/Temp/t>> ls [1-3]
1 2 3
:~/Temp/t>> ls [2-3]
2 3

Can you help with this problem?

Provide an answer of your own, or ask Łukasz Dudek for more information if necessary.

To post a message you must log in.