<commit_before>
GLK's list of things to do for each release.  This started with an
early version of Teem and has been only partially maintained since
then; consider it a work-in-progress ...

-5) use names.pl to make sure all sourcefile names are unique

-4) Make sure the CMake and GNUMake agree on source files per-library

-3.5) make sure that teem/src/meet/enumall.c:meetAirEnumAll()
 is up-to-date

-3) make sure that all the files have the right copyright
pre-ambles

-2.5) make sure that there are no DOS files
find . -name \*.c -exec unu undos -n {}  \;
find . -name \*.h -exec unu undos -n {}  \;
find . -name \*.txt -exec unu undos -n {} \;

-2) make sure there are no tabs:
cat > tab.txt
(tab) (return)
^D

find . -name \*.c -exec grep -f tab.txt {} /dev/null \; | more
find . -name \*.h -exec grep -f tab.txt {} /dev/null \; | more
find . -name \*.txt -exec grep -f tab.txt {} /dev/null \; | more
rm -f tab.txt

-1) finalize TEEM_VERSION* in air/air.h and airTeemReleaseDate in air/misc.c

-0.5) regenerate teem/python/ctypes/teem.py

-0.25) regenerate NrrdIO

0) Bring documentation up-to-date with source tree
make sure all the unrrdu pages agree with unu usage info
cd ~/teem
cp README.txt ~/teemdoc/html/tree/
cp src/README.txt ~/teemdoc/html/tree/src/
cp src/CHANGES.txt ~/teemdoc/html/tree/src/
cp src/TODO.txt ~/teemdoc/html/tree/src/
cp src/LICENSE.txt ~/teemdoc/html/tree/src/
(cd ~/teemdoc; cvs commit -m "pre-release text file update")<commit_msg>noting how to grep for trailing whitespace<commit_after>
GLK's list of things to do for each release.  This started with an
early version of Teem and has been only partially maintained since
then; consider it a work-in-progress ...

-5) use names.pl to make sure all sourcefile names are unique

-4) Make sure the CMake and GNUMake agree on source files per-library

-3.5) make sure that teem/src/meet/enumall.c:meetAirEnumAll()
 is up-to-date

-3) make sure that all the files have the right copyright
pre-ambles

-2.5) make sure that there are no DOS files
find . -name \*.c -exec unu undos -n {}  \;
find . -name \*.h -exec unu undos -n {}  \;
find . -name \*.txt -exec unu undos -n {} \;

-2.25) make sure there's no unwanted trailing whitespace
grep -E '^.+[ ]+$' *.c

-2) make sure there are no tabs:
cat > tab.txt
(tab) (return)
^D

find . -name \*.c -exec grep -f tab.txt {} /dev/null \; | more
find . -name \*.h -exec grep -f tab.txt {} /dev/null \; | more
find . -name \*.txt -exec grep -f tab.txt {} /dev/null \; | more
rm -f tab.txt

-1) finalize TEEM_VERSION* in air/air.h and airTeemReleaseDate in air/misc.c

-0.5) regenerate teem/python/ctypes/teem.py

-0.25) regenerate NrrdIO

0) Bring documentation up-to-date with source tree
make sure all the unrrdu pages agree with unu usage info
cd ~/teem
cp README.txt ~/teemdoc/html/tree/
cp src/README.txt ~/teemdoc/html/tree/src/
cp src/CHANGES.txt ~/teemdoc/html/tree/src/
cp src/TODO.txt ~/teemdoc/html/tree/src/
cp src/LICENSE.txt ~/teemdoc/html/tree/src/
(cd ~/teemdoc; cvs commit -m "pre-release text file update")
{'fraction_non_alphanumeric': 0.13245901639344262, 'fraction_numerical': 0.010819672131147541, 'mean_word_length': 2.993455497382199, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5347123', 'n_tokens_mistral': 1150, 'n_tokens_neox': 1119, 'n_words': 422}