Re: shebanged script not executed right - wth
Date: Sat, 09 Aug 2025 20:17:54 UTC
Dag-Erling Smørgrav <des@FreeBSD.org> wrote: > Dag-Erling Smørgrav <des@FreeBSD.org> writes: > > [...] there is nothing in the code to prevent [double indirection] > > from working, and it does seem to work on 13, 14, and 15 [...] > > Right, so in my testing, I was able to do double indirection (the > interpreter can be interpreted) but not triple indirection (the > interpreter's interpreter must be a binary). Could you share how you're testing for this behavior? (If it's not true that script interpreters cannot be scripts, I would like to find a correct explanation of the OP's observed behavior.) Thanks, Richard