Am 2008-03-22 20:32:06, schrieb Jonesy:
On Tue, 18 Mar 2008 20:10:50 +0100, Michelle Konzack wrote:
LENGHT=`echo ${#NUMBER}`
^^^^^^^
Should this not simply be "NUMBER", and not "#NUMBER"?
${#name} is POSIX amd it the length of the variable "name"
So if you have
NAME="Jonesy"
echo ${#NAME}
you get the length of "6".
And, are you being consistent in your mis-spelling of LENGTH?
Shit... :-/
But I have wrongspelled all over the files several 100 times CONSISTENT.
:-)
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail