AIX Open Source

 View Only

 tcsh globbing not working with 2 stars to glob compared to bash from the AIX OS

philip miloslavsky's profile image
philip miloslavsky posted Mon April 07, 2025 07:50 AM

Can someone familiar with tcsh email me? first.lastname@intersystems.com

We have shell globbing not working with 2 *'s compared to bash. Note   TS018869397 for details.

@Ranjit Ranjan is this similar to the tar issue?

Ayappan P's profile image
Ayappan P

Hi Philip, 
Can you give more info about the problem here ? Not everyone has access to see the tickets. 

philip miloslavsky's profile image
philip miloslavsky

> ps -p $$

PID TTY TIME CMD

56820008 pts/2 0:00 tcsh

> /usr/bin/ls /source/2025-2-0RETAIX-198-*/built/logs/harness*

/usr/bin/ls: No match.

> /opt/freeware/bin/ls /source/2025-2-0RETAIX-198-*/built/logs/harness*

/opt/freeware/bin/ls: No match.

> bash

~$ ps -p $$

PID TTY TIME CMD

65536408 pts/2 0:00 bash

~$ /usr/bin/ls /source/2025-2-0RETAIX-198-*/built/logs/harness*

/source/2025-2-0RETAIX-198-0/built/logs/harness_aixopenssl30.log

~$ /opt/freeware/bin/ls /source/2025-2-0RETAIX-198-*/built/logs/harness*

/source/2025-2-0RETAIX-198-0/built/logs/harness_aixopenssl30.log

Ranjit Ranjan's profile image
Ranjit Ranjan

Hi

is this observation also only w.r.t to pure storage mounted file system? 

Thanks

Ranjit

philip miloslavsky's profile image
philip miloslavsky

Yes, I sent you an email with more details. Its not trivial to replicate and the globbing will eventually start working right after days.

Ranjit Ranjan's profile image
Ranjit Ranjan

Yes, Philip. 
I saw your mail. Thanks for the update.

Couple of points: 

Since we don't have config to try to repro and as per you observation, it's an intermittent behaviour, So we will do the debugging offline over email, the way we did for tar.

As issue is also vanishing over time, so issue might not be within this package but behaviour is impacted by external entity like Pure storage server. Just a guess as of now.

If you see, tcsh tool-box package is release on 2017, so from when your team is using this package and any idea why we didn't observe over past years if it is being used 

It's possible that issue exists from day 1 or any env change in your infra is causing this.  Any change in infra if you can narrow down? 


We will start with truss output only as starting point.
Please collect truss output at the time of working case and failure case and share these details along with any input on above point over email.
Let me go through tcsh code once and understand the code flow for the parsing of globbing pattern.

Thanks

Ranjit