On Thu, 11 Apr 2024, at 4:57 PM, Oğuz wrote: > On Thursday, April 11, 2024, Kerin Millar <k...@plushkava.net> wrote: > Notwithstanding, I tried declaring the same function in an interactive > instance of dash and found that the alias within the command > substitution does end up being expanded, which is in stark contrast to > the behaviour of bash. > > Bash's behavior matches that of dash in POSIX mode. This is documented > here in the 8th item https://tiswww.case.edu/php/chet/bash/POSIX
Thank you. I thought that I had tested the posix mode properly before posting but I had not. -- Kerin Millar