From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lhb8a-0004T3-Mm for mharc-grub-devel@gnu.org; Wed, 11 Mar 2009 22:59:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lhb8Y-0004Ss-Px for grub-devel@gnu.org; Wed, 11 Mar 2009 22:59:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhb8X-0004Sg-Pw for grub-devel@gnu.org; Wed, 11 Mar 2009 22:59:10 -0400 Received: from [199.232.76.173] (port=38615 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhb8X-0004Sd-Ka for grub-devel@gnu.org; Wed, 11 Mar 2009 22:59:09 -0400 Received: from ironport-smtp01.maxnet.net.nz ([123.100.71.100]:29660) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lhb8X-0006oM-16 for grub-devel@gnu.org; Wed, 11 Mar 2009 22:59:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEABcXuEnAqAJa/2dsb2JhbADSQYQNBg X-IronPort-AV: E=Sophos;i="4.38,347,1233486000"; d="scan'208";a="112290828" Received: from smtp02.maxnet.net.nz ([123.100.71.111]) by ironport-smtp01.maxnet.net.nz with ESMTP; 12 Mar 2009 15:59:03 +1300 Received: from [192.168.2.90] (121-73-135-210.cable.telstraclear.net [121.73.135.210]) by smtp02.maxnet.net.nz (Postfix) with ESMTPA id 29A956BD99 for ; Thu, 12 Mar 2009 15:59:03 +1300 (NZDT) From: "Centurion Computer Technology (2005) Ltd" To: The development of GRUB 2 In-Reply-To: <49B85C8A.2090202@gmail.com> References: <1236731686.9908.22.camel@localhost.localdomain> <1236744273.27368.7.camel@mj> <1236815560.8320.78.camel@localhost.localdomain> <1236816744.8320.85.camel@localhost.localdomain> <49B85C8A.2090202@gmail.com> Content-Type: text/plain Organization: Centurion Computer Technology (2005) Ltd Date: Thu, 12 Mar 2009 15:59:02 +1300 Message-Id: <1236826742.8320.88.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Search command. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 02:59:11 -0000 > > An easy fix would be for search to return the device with parentheses > > > > This would solve most of the problems, and allow for: > > search -s OSdevice -u XXXX-YYYY-ZZZZ-AAAA-BBBB > > chainloader ${OSdevice}+1 > > > > > > search -s OSdevice -u XXXX-YYYY-ZZZZ-AAAA-BBBB > chainloader (${OSdevice})+1 It doesn't currently do parameter expansion so it parses as far as the ( and stops -- Daniel Reurich Centurion Computer Technology (2005) Limited. Ph: 021 797 722