#!/bin/bash

# https://wiki.kubuntu.org/Kubuntu/Specs/MaverickCodestylePolicy
#
# Author: Harald Sitter <apachelogger@ubuntu.com>

astyle --indent=spaces=4 --brackets=linux --pad-header --add-brackets  \
       --indent-labels --align-pointer=name --pad=oper --unpad=paren \
       --one-line=keep-statements --convert-tabs --indent-preprocessor \
       --lineend=linux --indent-namespaces \
       `find -type f -name '*.c'` `find -type f -name '*.cpp'` `find -type f -name '*.h'`
