From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JV5Yg-00022N-N4 for mharc-grub-devel@gnu.org; Fri, 29 Feb 2008 08:45:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JV5Yf-000212-GO for grub-devel@gnu.org; Fri, 29 Feb 2008 08:45:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JV5Yd-0001zD-Rw for grub-devel@gnu.org; Fri, 29 Feb 2008 08:45:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV5Yd-0001yy-MY for grub-devel@gnu.org; Fri, 29 Feb 2008 08:45:51 -0500 Received: from mx1.rz.ruhr-uni-bochum.de ([134.147.32.86]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JV5Yd-0007DU-8V for grub-devel@gnu.org; Fri, 29 Feb 2008 08:45:51 -0500 X-Queued: (qmail 31201 invoked by uid 281); 29 Feb 2008 13:45:49 -0000 X-Qmailscanner: from 134.147.252.214 by mx1.rz.ruhr-uni-bochum.de (envelope-from , uid 80) with qmail-scanner-2.01 (sophie: 3.05/2.71/4.27. Clear:RC:1(134.147.252.214):. Processed in 0.034384 secs); 29 Feb 2008 13:45:49 -0000 Received: from router.leat.ruhr-uni-bochum.de (134.147.252.214) by mx1.rz.ruhr-uni-bochum.de with SMTP; 29 Feb 2008 13:45:49 -0000 Received: from [134.147.55.45] (frodo.leat.ruhr-uni-bochum.de [134.147.55.45]) by router.leat.ruhr-uni-bochum.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id m1TDph1l006689 for ; Fri, 29 Feb 2008 14:51:43 +0100 Message-ID: <47C80CA9.9020000@leat.rub.de> Date: Fri, 29 Feb 2008 14:46:17 +0100 From: Fabian Greffrath User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: The development of GRUB 2 References: <47BEDCE2.3000301@leat.rub.de> <47BEEC03.9050902@leat.rub.de> <20080224152237.GB25984@thorin> <47C28F0D.7090703@leat.rub.de> <20080225142009.GJ14597@thorin> <47C66239.9020709@leat.rub.de> <20080228101000.GA350@thorin> <47C68CBD.8020601@leat.rub.de> <20080228104156.GJ350@thorin> <47C69F1D.9090405@leat.rub.de> <20080228170738.GB26926@thorin> In-Reply-To: <20080228170738.GB26926@thorin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Subject: Re: [NEW PATCH] Add option to grub-probe to accept system devices as arguments 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: Fri, 29 Feb 2008 13:45:53 -0000 Robert Millan schrieb: > Better do this like it's done in other scripts (check grub-install). Not sure > why, I guess it's more portable that way... Ah, now I know what you ment. However, I cannot really see the advantage in grub_probe=${sbindir}/`echo grub-probe | sed ${transform}` with ${transform}="s,x,x,". I rather reads like WTF to me... ;) BTW, in another mail from 4 Feb you asked my if the "echo ... | cut ..." mess in my script could be simplified with the "echo ... | read ..." feature. I am sorry, but the answer is "no". This is because read will run in a separate process and cannot set the variables in the parent shell, see . Cheers, Fabian -- Dipl.-Phys. Fabian Greffrath Ruhr-Universität Bochum Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT) Universitätsstr. 150, IB 3/134 D-44780 Bochum Telefon: +49 (0)234 / 32-26334 Fax: +49 (0)234 / 32-14227 E-Mail: greffrath@leat.ruhr-uni-bochum.de