On Sat, Apr 15, 2023 at 09:44:03AM +0700, Max Nikulin wrote: > As to [^c] vs. [!c], unfortunately the latter can not be always used as > portable variant. It is treated as history expansion in the case of > interactive bash session.
Ugh. That abomination. I've had history expansion disabled for *years*.