.sh & getopts
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sun Jun 6 07:12:30 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/06/2010 05:57:37, Aiza wrote:
> i) action="installworld"; flag_count=$((flag_count+1));;
Try it like this instead:
i) action="installworld"; flag_count=$(( $flag_count + 1 ));;
(Obviously, apply the equivalent change to the other lines)
Cheers,
Matthew
- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwLSlEACgkQ8Mjk52CukIzKtwCfSif5jfx11N4lij1vi2Bc9pC1
4yUAn3F9wdz6diW3iFkMPHQ1OZXNWXoc
=3EdD
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list