From owner-freebsd-questions@FreeBSD.ORG Mon Jan 3 22:16:55 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 5715016A4CE for ; Mon, 3 Jan 2005 22:16:55 +0000 (GMT) Received: from spatula.dreamhost.com (spatula.dreamhost.com [66.33.205.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E71143D2D for ; Mon, 3 Jan 2005 22:16:55 +0000 (GMT) (envelope-from lists@tntluoma.com) Received: from [192.168.2.102] (unknown [68.254.13.39]) by spatula.dreamhost.com (Postfix) with ESMTP id 3597217D0AC; Mon, 3 Jan 2005 14:16:52 -0800 (PST) In-Reply-To: References: <06DDB71C-5DB4-11D9-B56F-000D9333E43C@secure-computing.net> <15416223037.20050103193803@hexren.net> <6074EB8D-5DC6-11D9-89A5-000D93AD26C8@tntluoma.com> <41D9BA53.4060105@locolomo.org> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2C5C95E0-5DD5-11D9-89A5-000D93AD26C8@tntluoma.com> Content-Transfer-Encoding: 7bit From: Timothy Luoma Date: Mon, 3 Jan 2005 17:16:53 -0500 To: Eric F Crist X-Mailer: Apple Mail (2.619) 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:16:55 -0000 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