On 2/2/22 8:25 AM, L A Walsh wrote:
> I.e. My bash is posix compliant by default w/r/t aliases:
It's not, and that's how this whole issue got started. You're running
bash-4.4. POSIX requires the following to work:
alias switch=case
echo $(switch foo in foo) echo ok 2;; esac )
and it simply doesn't, whether you run in posix mode or not.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/