[Dune] [#2] Common code-formatting

Dune dune at dune-project.org
Wed Sep 30 14:32:46 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#2 - Common code-formatting
User who did this - Jö Fahlke (joe)

----------
The statistics for tab-in-indentation for all modules are

module-name         files-total files-with-tabs files-with-tabs-and-modelines
dune-common         83          29              0
dune-grid           305         56              1
dune-grid-howto     29          22              0
dune-istl           84          65              0
dune-disc           39          30              0
dune-localfunctions 94          64              36
dune-pdelab         91          64              56
dune-pdelab-howto   51          47              21

The command for finding the total files was:
find ( -type d -name .svn -prune ) -o -type f ( -name *.hh -o -name *.cc ) -print| wc -l
The command for finding files with tabs in indentation was
find ( -type d -name .svn -prune ) -o -type f ( -name *.hh -o -name *.cc ) -print0 | xargs -0 egrep -l -e '^ *   [       ]*[^    ]'| wc -l
The command for finding files with tabs in indentation and emacs mode-line was
find ( -type d -name .svn -prune ) -o -type f ( -name *.hh -o -name *.cc ) -print0 | xargs -0 egrep -l -e '^ *       [       ]*[^    ]' | xargs egrep -nH -e '-*-.*-*-'|grep :1: | wc -l

----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=2#comment1134

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list