source: utils/find_ugly_formatted_code.sh @ 1294:a959a88bef3c

Revision 1294:a959a88bef3c, 510 bytes checked in by niam, 2 years ago (diff)

{issue #55[resolved]} reviewed data types and interfaces: visibility, naming

  • Property exe set to *
Line 
1#!/bin/bash
2
3#gaps after PP directives
4pcregrep -Mn '#(if|else)[^\n]*\n\s*\n' trunk/src/* trunk/include/libdodo/*
5
6#gaps before PP directived
7pcregrep -Mn '\n\s*\n#(endif|else)' trunk/src/* trunk/include/libdodo/*
8
9#big gaps
10pcregrep -Mn '\n\s*\n\s*\n' trunk/src/* trunk/include/libdodo/*
11
12pcregrep -Mn '^\/\/-------------------------------------------------------------------\n[^\n#endif]+' trunk/src/*
13pcregrep -Mn '[^\n]\n\/\/-------------------------------------------------------------------' trunk/src/*
Note: See TracBrowser for help on using the repository browser.