Mercurial > ec-dotfiles
comparison bin/cek @ 102:7a287a518718
Merge.
author | Edho Prima Arief <edho@myconan.net> |
---|---|
date | Thu, 18 Aug 2011 15:20:54 +0700 |
parents | 08d5f6023998 |
children | 7f5234a312f7 |
comparison
equal
deleted
inserted
replaced
89:29bd7f6ef58a | 102:7a287a518718 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 bn() { basename "/$*"; } | 3 bn() { basename "/$*"; } |
4 #cs() { cksfv -- "$@"; } | 4 #cs() { cksfv -- "$@"; } |
5 cs() { cek.rb "$@"; } | 5 cs() { cek.py "$@"; } |
6 if [ "$#" -lt 1 ]; then | 6 if [ "$#" -lt 1 ]; then |
7 cat <<EOF | 7 cat <<EOF |
8 Usage: $(bn "$0") file1 file2 ... fileN | 8 Usage: $(bn "$0") file1 file2 ... fileN |
9 EOF | 9 EOF |
10 exit 1 | 10 exit 1 |