aboutsummaryrefslogtreecommitdiffstats
path: root/indent.sh
diff options
context:
space:
mode:
Diffstat (limited to 'indent.sh')
-rwxr-xr-xindent.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/indent.sh b/indent.sh
deleted file mode 100755
index 11a02b2..0000000
--- a/indent.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /bin/bash
-
-# -kr Use Kernighan & Ritchie coding style.
-# -l120 Set maximum line length for non-comment lines to 150.
-
-rm *.c~ *.h~
-indent -kr -l120 *.c *.h
-
-for i in *.c *.h; do
- if !(diff -q $i $i~); then
- rm $i~
- else
- mv $i~ $i
- fi
-done