Re: Why does case-pattern undergo "process substitution"?
From:
shynur .
Subject:
Re: Why does case-pattern undergo "process substitution"?
Date:
Sat, 24 Aug 2024 08:27:38 +0000
> the behavior is easily confirmed.
>
> $ case <(:) in '<(:)') echo not expanded;; *) echo expanded;; esac
> expanded
Indeed, despite the manual doesn't mention "process substitution":
The _word_ undergoes tilde expansion, parameter expansion,
command substitution, arithmetic expansion, and quote
removal before matching is attempted.