> > @@ -9101,11 +9166,9 @@ > > } > > > > if (!asterisk) > > - {
FWIW here's a one-liner that finds ifs with opening brackets on following lines in case anyone wants to play with style patching. perl -e 'undef $/; while (@ARGV){ print "$ARGV[0]\n";$slurp = <>;\ @ifb = $slurp =~ /(^[ \t]*if\s*\(.+?\)\s+\{)/gm;\ print join "\n---\n", grep {/\n/} @ifb }' *.c */*.c | less