From owner-freebsd-questions@FreeBSD.ORG Thu Jun 24 01:24:40 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9068E106566C for ; Thu, 24 Jun 2010 01:24:40 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9678FC16 for ; Thu, 24 Jun 2010 01:24:39 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiMYAI9QIkzKRa1mPGdsb2JhbAAHh2iXUAEBAQE1J8MZhRsEg1k X-IronPort-AV: E=Sophos;i="4.53,470,1272816000"; d="scan'208";a="4890250" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.102]) by avmxsmtp3.comclark.com with ESMTP; 24 Jun 2010 09:24:38 +0800 Message-ID: <4C22B3D7.6070102@comclark.com> Date: Thu, 24 Jun 2010 09:24:39 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: .sh check for numeric content X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 01:24:40 -0000 Receiving a variable from the command line that is suppose to contain numeric values. How do I code a test to verify the content is numeric? Thanks for for help.