From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5D56181F62 for ; Thu, 26 Jan 2017 09:02:58 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 26 Jan 2017 09:02:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,290,1477983600"; d="scan'208";a="1087610212" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 26 Jan 2017 09:02:28 -0800 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 26 Jan 2017 09:02:28 -0800 Received: from fmsmsx103.amr.corp.intel.com ([169.254.2.47]) by fmsmsx120.amr.corp.intel.com ([169.254.15.204]) with mapi id 14.03.0248.002; Thu, 26 Jan 2017 09:02:28 -0800 From: "Carsey, Jaben" To: "Foster, Matthew I" , "edk2-devel@lists.01.org" CC: "Carsey, Jaben" Thread-Topic: EFI shell script Thread-Index: AdJ35/O/m/o/fuWPRwGLHOixeO23UgADd8vQ Date: Thu, 26 Jan 2017 17:02:27 +0000 Message-ID: References: <3E72E29DAAE6E94BB0236F004CFB699B78953171@fmsmsx107.amr.corp.intel.com> In-Reply-To: <3E72E29DAAE6E94BB0236F004CFB699B78953171@fmsmsx107.amr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODIwNGUyMDUtYjQ1ZS00M2E5LTg1NDgtNDkyMjk2ZjEwMmIzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjVVMXRib3FSRE05Tk9DR1dzY1Vxd1JGVktwbTVocjZOVDZzSmtYZWJFMkU9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.1.200.107] MIME-Version: 1.0 Subject: Re: EFI shell script X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 17:02:58 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The "if" command supports some numeric comparison, but I don't think we hav= e much more. Can you elaborate on the goal of arithmetic using env vars? -Jaben > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Foster, Matthew I > Sent: Thursday, January 26, 2017 7:25 AM > To: edk2-devel@lists.01.org > Subject: [edk2] EFI shell script > Importance: High >=20 > Is there any version of the EFI shell or library that implements performi= ng > simple arithmetic operations on numeric values stored in the shell > environment variables in an EFI shell script? > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel