[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Rule-list] finding hard disk size
From: |
Devon |
Subject: |
Re: [Rule-list] finding hard disk size |
Date: |
Mon, 8 Apr 2002 23:59:34 -0500 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 08 April 2002 10:27 pm, Devon wrote:
> > But it won't work in the shell available in the installer. :)
> > Refer to my previous post for syntax the installer will handle.
>
> It's worse than that. My script won't work either, this shell doesn't
> have the 'let' built-in. I'm searching at present, but it doesn't look
> like the shell has math functions.
Ok, math support is now available in the installer, via 'expr'
usage:
expr ARG1 \* ARG2
TOTAL=`expr ARG1 \* ARG2`
Math operators need to be escaped or quoted.
- -D
- --
pgp key: http://www.tuxfan.homeip.net:8080/pgpkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.freesoftware.fsf.org/rule/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8snU2eMAUbzJhSVcRAlMQAJ40DO/9cZDZiVrB1GTFTc8Fk4AnYwCdH24H
MCc4jHLuw3KQ1xSxmplC4JA=
=2S5u
-----END PGP SIGNATURE-----