From owner-freebsd-questions@FreeBSD.ORG Mon Jan 3 22:22:21 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 870BF16A4CE for ; Mon, 3 Jan 2005 22:22:21 +0000 (GMT) Received: from grog.secure-computing.net (grog.secure-computing.net [63.228.14.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04D8343D4C for ; Mon, 3 Jan 2005 22:22:21 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from [192.168.1.102] (c-66-41-157-209.mn.client2.attbi.com [66.41.157.209]) (authenticated bits=0)j03MLjEL030178; Mon, 3 Jan 2005 16:22:16 -0600 (CST) (envelope-from ecrist@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> <41D9BA53.4060105@locolomo.org> <2C5C95E0-5DD5-11D9-89A5-000D93AD26C8@tntluoma.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-13--217797179" Message-Id: Content-Transfer-Encoding: 7bit From: Eric F Crist Date: Mon, 3 Jan 2005 16:22:17 -0600 To: Timothy Luoma X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619) X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on grog.secure-computing.net cc: FreeBSD-Questions Questions Subject: Re: my lame attempt at a shell script... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 22:22:21 -0000 --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--