diff options
Diffstat (limited to 'compile.sh')
-rw-r--r-- | compile.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.sh b/compile.sh index e6b3141..51a94f7 100644 --- a/compile.sh +++ b/compile.sh | |||
@@ -22,10 +22,10 @@ echo | |||
22 | echo "Moving files to build directory ..." | 22 | echo "Moving files to build directory ..." |
23 | mv src/{.[!.]*,*}.html ./ | 23 | mv src/{.[!.]*,*}.html ./ |
24 | echo "Moving RIVERs to river/ ..." | 24 | echo "Moving RIVERs to river/ ..." |
25 | mv src/{.[!.]*,*}.river river/ | 25 | mv src/*.river river/ |
26 | rm src/*.river | ||
26 | echo "Concatenating and counting rivers ..." | 27 | echo "Concatenating and counting rivers ..." |
27 | cat river/*.river | \ | 28 | cat river/*.river | \ |
28 | sed -e "s/^\s\+//" -e "s/\s\+$//" -e 's/--\+/\n/g' | \ | ||
29 | sort | uniq -c | sort >river/COUNTS.txt | 29 | sort | uniq -c | sort >river/COUNTS.txt |
30 | echo "Finished compiling $num files." | 30 | echo "Finished compiling $num files." |
31 | ############################################### | 31 | ############################################### |