scyther/src/reindent.sh

6 lines
126 B
Bash
Executable File

#!/bin/sh
#
# Indent any changed files, ending in .c or .h
#
svn st | grep "^[MA].*\.[ch]$"| awk '{print $2}' | xargs indent