]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the indent script. 16429/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 7 Jan 2024 17:52:42 +0000 (10:52 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 7 Jan 2024 18:06:06 +0000 (11:06 -0700)
contrib/utilities/indent
contrib/utilities/indent-all

index ecde5c18a893eeed3c4205b8fc6a819ddb688f6b..e2e7307e74757dd69662a01585c10b03e9ccfe26 100755 (executable)
@@ -71,12 +71,12 @@ process_changed "source" ".*\.inst.in" format_inst
 process_changed "tests include source examples cmake/scripts contrib/python-bindings" \
   ".*\.(cc|h|inst.in|output.*|cmake)" fix_permissions
 
-process_changed "doc/news/*/*" "*" fix_permissions
+process_changed "doc/news/*/*" "[A-Za-z0-9]*" fix_permissions
 
 process_changed "tests include source examples cmake/scripts contrib/python-bindings" \
   ".*\.(cc|h|inst.in|cmake)" dos_to_unix
 
-process_changed "doc/news/*/*" "*" dos_to_unix
+process_changed "doc/news/*/*" "[A-Za-z0-9]*" dos_to_unix
 
 #
 # Removing trailing whitespace
@@ -85,7 +85,7 @@ process_changed "doc/news/*/*" "*" dos_to_unix
 process_changed "tests include source examples cmake/scripts contrib/python-bindings doc" \
   ".*\.(cc|h|html|dox|txt)" remove_trailing_whitespace
 
-process_changed "doc/news/*/*" "*" remove_trailing_whitespace
+process_changed "doc/news/*/*" "[A-Za-z0-9]*" remove_trailing_whitespace
 
 #
 # Ensure only a single newline at end of files
@@ -94,4 +94,4 @@ process_changed "doc/news/*/*" "*" remove_trailing_whitespace
 process_changed "tests include source examples cmake/scripts contrib/python-bindings doc" \
   ".*\.(cc|h|html|dox|txt)" ensure_single_trailing_newline
 
-process_changed "doc/news/*/*" "*" ensure_single_trailing_newline
+process_changed "doc/news/*/*" "[A-Za-z0-9]*" ensure_single_trailing_newline
index e291788e40a7c56a48cc65b3bf2992a0c808b00e..5341b9eb2aee5dc1497620b8673b705a80dce700 100755 (executable)
@@ -75,12 +75,12 @@ process "source" ".*\.inst.in" format_inst
 process "tests include source examples cmake/scripts contrib/python-bindings" \
   ".*\.(cc|h|inst.in|output.*|cmake)" fix_permissions
 
-process "doc/news/*/*" "*" fix_permissions
+process "doc/news/*/*" "[A-Za-z0-9]*" fix_permissions
 
 process "tests include source examples cmake/scripts contrib/python-bindings" \
   ".*\.(cc|h|inst.in|cmake)" dos_to_unix
 
-process "doc/news/*/*" "*" dos_to_unix
+process "doc/news/*/*" "[A-Za-z0-9]*" dos_to_unix
 
 #
 # Removing trailing whitespace
@@ -89,7 +89,7 @@ process "doc/news/*/*" "*" dos_to_unix
 process "tests include source examples cmake/scripts contrib/python-bindings doc" \
   ".*\.(cc|h|html|dox|txt)" remove_trailing_whitespace
 
-process "doc/news/*/*" "*" remove_trailing_whitespace
+process "doc/news/*/*" "[A-Za-z0-9]*" remove_trailing_whitespace
 
 #
 # Ensure only a single newline at end of files
@@ -98,4 +98,4 @@ process "doc/news/*/*" "*" remove_trailing_whitespace
 process "tests include source examples cmake/scripts contrib/python-bindings doc" \
   ".*\.(cc|h|html|dox|txt)" ensure_single_trailing_newline
 
-process "doc/news/*/*" "*" ensure_single_trailing_newline
+process "doc/news/*/*" "[A-Za-z0-9]*" ensure_single_trailing_newline

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.