comparison bin/cek @ 79:08d5f6023998

Replace checksum calculator with python version.
author Edho Prima Arief <me@myconan.net>
date Sat, 09 Jul 2011 15:33:37 +0700
parents 8fc79d327ccd
children 7f5234a312f7
comparison
equal deleted inserted replaced
78:06fd72a78cc1 79:08d5f6023998
1 #!/bin/sh 1 #!/bin/sh
2 2
3 bn() { basename "/$*"; } 3 bn() { basename "/$*"; }
4 #cs() { cksfv -- "$@"; } 4 #cs() { cksfv -- "$@"; }
5 cs() { cek.pl "$@"; } 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