[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tutorial PSF subtraction
From: |
Mohammad Akhlaghi |
Subject: |
Re: Tutorial PSF subtraction |
Date: |
Tue, 10 Jan 2023 17:42:37 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 |
Hi Alex,
Thanks for the fast check! Indeed, this seems to be a problem in the shell.
Can you share the output of the command below ('$0' stands for the
running program, which is the shell when you are in the command-line):
$0 --version
In my case, this is GNU Bash, version 5.1.16. The default shell on most
macOS systems is a relatively old version of Bash. It may also not be
Bash at all, but some other shell.
To see if it is related to how the shell treats wildcards, can you try this:
imgs=$(ls outer/stamps/*.fits)
echo $imgs
Hopefully this should leave the expansion to the 'ls' tool and skip the
shell. Let me know how it goes ;-).
Cheers,
Mohammad