|
| From: | Chet Ramey |
| Subject: | Re: 5.3: Why is <(cmd) allowed in func names of func defs? |
| Date: | Wed, 11 Jun 2025 10:09:46 -0400 |
| User-agent: | Mozilla Thunderbird |
On 6/3/25 4:35 PM, Robert Elz wrote:
A function name should remain a shell "word" - including being possibly partly or fully a quoted word, after all, if it contains operator chars, white space, or quoting chars, then it will need to be quoted to be invoked, it seems eminently sensible to require such a thing to bequoted when defined as well.
That wouldn't have been backwards compatible, so I didn't add quote
removal.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
| [Prev in Thread] | Current Thread | [Next in Thread] |