Hi Paul,
Last year I wrote a script to indent PRM files [1] in the Lethe project [2].
You may find it useful.
It can be used to recursively indent all PRM files in place in the current
directory using find [3].
Very nice!
Two proposals:
* We could add this script to the contrib/utilities/ directory. It would not
be difficult to have that script installed alongside the library, just like
the one file that is currently listed in contrib/utilities/CMakeLists.txt. If
the script was part of deal.II, we should also augment the documentation of
the ParameterHandler class to point to it.
* There are currently 133 .prm files in the deal.II source tree:
> find . -name *.prm | wc -l
One way to assess how the script works would be to run it on all of these
files and turn this into a pull request in itself.
Best & thanks for offering the script!
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/32da8c17-f9b5-5fa7-63d8-0c55c5b2fa81%40colostate.edu.