comparison bin/cek @ 76:8fc79d327ccd

replaced crc calculator with perl version.
author Edho Prima Arief <me@myconan.net>
date Sun, 19 Jun 2011 01:56:31 +0700
parents 94ee419ad047
children 08d5f6023998
comparison
equal deleted inserted replaced
75:f993714efa7b 76:8fc79d327ccd
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.pl "$@"; }
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