Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2005 16:22:17 -0600
From:      Eric F Crist <ecrist@secure-computing.net>
To:        Timothy Luoma <lists@tntluoma.com>
Cc:        FreeBSD-Questions Questions <freebsd-questions@freebsd.org>
Subject:   Re: my lame attempt at a shell script...
Message-ID:  <ED99A1D8-5DD5-11D9-B56F-000D9333E43C@secure-computing.net>
In-Reply-To: <2C5C95E0-5DD5-11D9-89A5-000D93AD26C8@tntluoma.com>
References:  <06DDB71C-5DB4-11D9-B56F-000D9333E43C@secure-computing.net> <15416223037.20050103193803@hexren.net> <6074EB8D-5DC6-11D9-89A5-000D93AD26C8@tntluoma.com> <F0BE3E23-5DC8-11D9-B56F-000D9333E43C@secure-computing.net> <41D9BA53.4060105@locolomo.org> <C97EA39E-5DD1-11D9-B56F-000D9333E43C@secure-computing.net> <2C5C95E0-5DD5-11D9-89A5-000D93AD26C8@tntluoma.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-13--217797179
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Jan 3, 2005, at 4:16 PM, Timothy Luoma wrote:

>
> On Jan 3, 2005, at 4:52 PM, Eric F Crist wrote:
>
>> In regards to the = or -eq, I can't discern a difference in output 
>> when
>> I use them.  Can you explain further their differences?
>
> I think they are different ways of saying the same thing.  Personal 
> preference only as to which is better.
>
>> What would NOT EQUAL be?
>
> !=
>
> -ne only works for integars (see 'man test').
>
> TjL

Figured that out, thanks to your reference to man test.

Thanks.
_______________________________________________________
Eric F Crist                  "I am so smart, S.M.R.T!"
Secure Computing Networks              -Homer J Simpson

--Apple-Mail-13--217797179
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iEYEARECAAYFAkHZxZoACgkQRAAY9knOW+pxRQCgka4Sg5Wey6+pDa5DWxIQegQ7
/vMAn2IsSuju9cdRdsoJvntF16uOyBZ4
=kDKD
-----END PGP SIGNATURE-----

--Apple-Mail-13--217797179--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ED99A1D8-5DD5-11D9-B56F-000D9333E43C>