scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit 6732dec0599a0473214e47e072d98c11a48cad25
parent 544edd27e2b74149e305d47670f4978b7c9a37c6
Author: z3bra <willy@mailoo.org>
Date:   Tue Apr 29 08:18:00 +0200

Added a default behavior

Diffstat:
utf8.sh | 10++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/utf8.sh b/utf8.sh @@ -36,12 +36,10 @@ function unichr { min=0xe000 max=0xe1a0 -if test $# -gt 1; then - if test $# -eq 2; then - min=$1 - max=$2 - fi -else +if test $# -eq 2; then + min=$1 + max=$2 +elif test "$1" = "-h"; then usage exit 1 fi