You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Monterey tcsh wildcards

I am busy finetuning my 'new' second hand Macbook Pro (Monterey 12.7.6) and noticed that brackets ([ ]) are not properly handled by the tcsh.

For example, the command >ls -1 RDN_148[3-4]?.jpg produces following output:

RDN_14804.jpg

RDN_14814.jpg

RDN_14824.jpg

RDN_14834.jpg

RDN_14844.jpg


whereas entering the same command using bash yields:

RDN_14834.jpg

RDN_14844.jpg

as it should be.


It also happens for other commands such as find.


On my old macbook (Capitan 10.11.6) I didn't have this issue. Does anyone know what is causing this, and, if possible, how to fix this?


Thanks & best,

Ruud


Posted on Sep 27, 2024 9:20 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 27, 2024 9:54 AM

It looks like a bug in tcsh. See https://bugs.devuan.org/cgi/bugreport.cgi?bug=734


To fix it, you would have to install your own version of tcsh with the fix. That should be relatively easy, as such things go.

2 replies

Monterey tcsh wildcards

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.