Bug #83
deduplicate file names
0%
Description
There are too many duplicate names and name varing only in case:
jpyeron@black /projects/cipherShed
$ find src/ -path src/unit-tests -prune -o -iname '*.c' -o -iname '*.cpp' -o -iname '*.h' -printf '%f\n' | tr '[:upper:]' '[:lower:]' | sort > /tmp/long.txt
jpyeron@black /projects/cipherShed
$ find src/ -path src/unit-tests -prune -o -iname '*.c' -o -iname '*.cpp' -o -iname '*.h' -printf '%f\n' | tr '[:upper:]' '[:lower:]' | sort -u > /tmp/short.txt
jpyeron@black /projects/cipherShed
$ for i in `diff u /tmp/long.txt /tmp/short.txt | grep ^ | tail n +2 | cut -c 2 | sort -u`; do find src/ | grep -i /$i; done
src/Common/EncryptionThreadPool.h
src/Volume/EncryptionThreadPool.h
src/Common/Exception.h
src/Platform/Exception.h
src/Common/Password.h
src/Common/types/password.h
src/Boot/Windows/Platform.h
src/Platform/Platform.h
src/Common/Resource.h
src/Driver/Resource.h
src/Format/Resource.h
src/Mount/Resource.h
src/Setup/Resource.h
src/unit-tests/resource.h
src/Core/Unix/FreeBSD/System.h
src/Core/Unix/Linux/System.h
src/Core/Unix/MacOSX/System.h
src/Core/Unix/Solaris/System.h
src/Core/Unix/System.h
src/Main/System.h
src/Platform/System.h
src/Platform/Unix/System.h
src/Common/Xml.h
src/Main/Xml.h