1.0.9.53: trivial typo fixes
[sbcl/lichteblau.git] / tools-for-build / whitespacely-canonical-filenames
blob54e65dedaabf914990e23616225ab1ed6d71e83c
1 #!/bin/sh
3 # (a script to be run in the root directory of the distribution,
4 # probably as part of an enclosing do-something-with-whitespace script)
6 # Print to stdout the names of files whose whitespace we (SBCLers)
7 # try to keep canonical.
9 # glob patterns for source files in languages for which the
10 # canonicalization is safe (not affecting meaning, at least given the
11 # conservative syntax used in SBCL sources)
12 source_extensions='.lisp .lisp-expr .c .h'
13 # other candidates:
14 # .sh: if ./make.sh is altered, Bad Things happen
15 # ?
17 for source_extension in $source_extensions; do
18 find . \( \
19 -name _darcs -o \
20 -name '{arch}' -o \
21 -name CVS -o \
22 -name .hg -o \
23 -name .svn \) -type d -prune -o \
24 -name '*'$source_extension -print
25 done