Skip to content

Instantly share code, notes, and snippets.

@madson
Created May 27, 2013 18:50
Show Gist options
  • Save madson/5658516 to your computer and use it in GitHub Desktop.
Save madson/5658516 to your computer and use it in GitHub Desktop.
Process uncrustify in files
#! /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