https://discuss.bashsupport.com/t/error-executing-shfmt/58/3
Fix in shfmt: mvdan/sh@3a030eb
[[ (! $MatchLine && (($InvertPrint && ! $line =~ $regex) || (! $InvertPrint && $line =~ $regex)))
|| ($MatchLine && (($InvertPrint && $line != "$regex") || (! $InvertPrint && $line == "$regex"))) ]]
https://discuss.bashsupport.com/t/error-executing-shfmt/58/3
Fix in shfmt: mvdan/sh@3a030eb