summaryrefslogtreecommitdiff
path: root/kr.sh
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-12 13:43:22 +0100
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-12 13:43:22 +0100
commit02f1b503f4822f4738584cf712da078cce47d3bd (patch)
tree20e7c265686ee589b4d934a273b896ef20ac3b3e /kr.sh
parentb9804b72d80269cd51ae58808d7d980bc82df23b (diff)
Cleanup in root folder
Diffstat (limited to 'kr.sh')
-rwxr-xr-xkr.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/kr.sh b/kr.sh
deleted file mode 100755
index dbc1842..0000000
--- a/kr.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-if [ ! "$1" ]; then
- echo "Help: this script indents code according to the K&R standard"
- echo "Usage: $0 path/to/file.c"
- exit 1
-elif [ ! -e "$1" ]; then
- echo "Error: file '$1' doesn't exist!"
- exit 1
-fi
-
-indent -kr -l79 -ts4 -ip4 -ppi 4 "$1"