On 6/4/17 3:45 AM, dualbus wrote: > I know I said I wasn't going to reply, but this changed my mind :-) > > I hadn't realized that bash already supports Unicode in function names!
When not in Posix mode, bash doesn't really have any restrictions on characters that can be used in function names. It's basically the same namespace as external commands, with a few exceptions (no dollar signs, no quoted strings, no all-digit names). You can even name a function `/bin/true' and call it, as long as you quote the slashes. With so few restrictions, there's nothing to supporting locale-specific function names -- they're just a string of bytes. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/