diff options
| author | makefu <github@syntax-fehler.de> | 2011-08-20 23:21:48 +0200 |
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2011-08-20 23:21:48 +0200 |
| commit | 37e09437c2f20ac269f8d2b7f9c7f7cd325f0585 (patch) | |
| tree | e1ea709db90614f48c7d7b2a2162236b8ef69889 /oncology/dpfhack_display/lcd4linux/.svn/text-base/indent.sh.svn-base | |
| parent | 9bbf4fa73c2d48864e58d624629bd4bac7a69673 (diff) | |
oncology: initial commit
oncology will analyse the current krebs status
Diffstat (limited to 'oncology/dpfhack_display/lcd4linux/.svn/text-base/indent.sh.svn-base')
| -rw-r--r-- | oncology/dpfhack_display/lcd4linux/.svn/text-base/indent.sh.svn-base | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/oncology/dpfhack_display/lcd4linux/.svn/text-base/indent.sh.svn-base b/oncology/dpfhack_display/lcd4linux/.svn/text-base/indent.sh.svn-base new file mode 100644 index 00000000..e21a739b --- /dev/null +++ b/oncology/dpfhack_display/lcd4linux/.svn/text-base/indent.sh.svn-base @@ -0,0 +1,20 @@ +#! /bin/bash + +# $Id$ +# $URL$ + + +# -kr Use Kernighan & Ritchie coding style. +# -l120 Set maximum line length for non-comment lines to 150. +# -npro Do not read ‘.indent.pro’ files. + +rm *.c~ *.h~ 2>/dev/null # trash "no such file or directory" warning messages +indent -kr -l120 -npro *.c *.h + +for i in *.c *.h; do + if !(diff -q $i $i~); then + rm $i~ + else + mv $i~ $i + fi +done |
