Created
May 27, 2013 18:50
-
-
Save madson/5658516 to your computer and use it in GitHub Desktop.
Process uncrustify in files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
if [ -z "$1" ]; then | |
echo "specify the file that contains a list of files" | |
exit | |
fi | |
files=$(cat $1) | |
for item in $files ; do | |
uncrustify --no-backup -c ~/uncrustify.cfg --replace $item | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment