On 10/18/2022 3:22 PM, Ray Andrews wrote:
On 2022-10-18 12:32, Lawrence Velázquez wrote:is equivalent to this: [ "${${1}##*[*?]*}" ] && echo "no wildcards" printenv "$1" || echo wildcards present which is not at all what you want.Quite right, I expressed it poorly. Anyway the issue is closed, I understand it. I wonder how old I'll have to be before I stop thinking in C.
Try perl. Then you'll really be confused as to the proper syntax. :)