From d79d8fa9554b69b14d80b8a366ddb344a370f5eb Mon Sep 17 00:00:00 2001 From: Tim Behrens <behrens@fmrib.ox.ac.uk> Date: Wed, 20 Oct 2004 21:06:27 +0000 Subject: [PATCH] *** empty log message *** --- zeropad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zeropad b/zeropad index cff9d46..9686485 100755 --- a/zeropad +++ b/zeropad @@ -20,7 +20,7 @@ exit [ "$2" = "" ] && Usage -i=`echo $1 | wc -m`; +i=`echo $1 | wc -c`; j=0; k=` expr $2 - $i`; k=` expr $k + 1`; @@ -29,4 +29,4 @@ while [ "$j" -lt "$k" ];do num=0$num; j=` expr $j + 1` done -echo $num \ No newline at end of file +echo $num -- GitLab