cannam@89: rem Use Astyle to fix style in 'C' files cannam@89: cd %1% cannam@89: cannam@89: fixlines -p *.c cannam@89: fixlines -p *.cpp cannam@89: fixlines -p *.cc cannam@89: cannam@89: astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.c cannam@89: astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cpp cannam@89: astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cc cannam@89: del *.orig cannam@89: @rem convert line terminators to Unix style LFs cannam@89: fixlines -u *.c cannam@89: fixlines -u *.cpp cannam@89: fixlines -u *.cc cannam@89: fixlines -u *.h cannam@89: del *.bak cannam@89: cannam@89: cd ..\