Tweak sorting of files.
authorPeter D. Barnes, Jr. <barnes26@llnl.gov>
Wed, 04 Dec 2013 15:52:48 -0800
changeset 10471 a3edb241f204
parent 10470 f860f4c2046d
child 10472 85f0a4e3dbf4
Tweak sorting of files.
doc/doxygen.warnings.report.sh
--- a/doc/doxygen.warnings.report.sh	Wed Dec 04 15:37:57 2013 -0800
+++ b/doc/doxygen.warnings.report.sh	Wed Dec 04 15:52:48 2013 -0800
@@ -202,9 +202,7 @@
 # Rather than work too hard to get the exact number for each file,
 # we just list the total here. 
 addlparam=$(                                  \
-    grep -v "^$ROOT" $LOG                   | \
-    grep -v "not generated, too many nodes" | \
-    grep "^  parameter '"                   | \
+    grep "^  parameter '" "$LOG"            | \
     wc -l                                   | \
     sed 's/^[ \t]*//;s/[ \t]*$//'             \
     )
@@ -228,7 +226,7 @@
     )
 
 # Sorted by number, decreasing
-undocsort=$(echo "$undocfiles" | sort -r )
+undocsort=$(echo "$undocfiles" | sort -k1nr,2 )
 
 # Total number of files
 filecount=$(                        \