diff options
| author | Connor Thomson <blumatrikz@gmail.com> | 2026-09-08 18:27:39 -0700 |
|---|---|---|
| committer | Connor Thomson <blumatrikz@gmail.com> | 2026-09-08 18:27:39 -0700 |
| commit | f1ddc12b68b4e4c8087962de25260470e6df2bea (patch) | |
| tree | 7d0440a6402a9b0ef75ded23fa64b68534255bba /scripts/kr.sh | |
| parent | 6025860a61386bf767b29c3ec5fd0d31285f1056 (diff) | |
Add tuxanci2 files
Diffstat (limited to 'scripts/kr.sh')
| -rwxr-xr-x | scripts/kr.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/kr.sh b/scripts/kr.sh deleted file mode 100755 index 4977efc..0000000 --- a/scripts/kr.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -PWD=$(pwd) -[[ ${PWD/*\//} = scripts ]] && pushd .. > /dev/null || pushd . > /dev/null - -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" |