Re: [newbie] more help with script -converting an string to integer

2001-07-12 Thread Jeferson Lopes Zacco
Hmm, thanks Miark, but I'd like the script to be entirely bash(1) compatible since I don't know how standard Perl/Python/anything else are between != Linux/Un1x flavours. Besides I'm just a bash apprentice, learning either Perl or Python shall be my next step. --Jeferson L. Zacco aka Wooky

[newbie] more help with script -converting an string to integer

2001-07-11 Thread Jeferson Lopes Zacco
I need more help with my pet script. Apparently bash lacks any type converting commands, and I need to convert a variable that stores the line number of a certain file -which was created with wc-l file - but I can't. I tried gawk but the bash script seems to reconvert the integer when passed by