From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JWHmK-0002Kl-IV for mharc-grub-devel@gnu.org; Mon, 03 Mar 2008 16:00:56 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JWHmI-0002I5-Jt for grub-devel@gnu.org; Mon, 03 Mar 2008 16:00:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWHmG-0002HC-Rj for grub-devel@gnu.org; Mon, 03 Mar 2008 16:00:54 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWHmG-0002H6-MD for grub-devel@gnu.org; Mon, 03 Mar 2008 16:00:52 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JWHmG-0002gf-0h for grub-devel@gnu.org; Mon, 03 Mar 2008 16:00:52 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JWHmC-0001M8-Gf for grub-devel@gnu.org; Mon, 03 Mar 2008 22:00:50 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JWHkF-0005y8-FX for grub-devel@gnu.org; Mon, 03 Mar 2008 21:58:47 +0100 Date: Mon, 3 Mar 2008 21:58:47 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080303205847.GC22431@thorin> References: <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> <47C80CA9.9020000@leat.rub.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47C80CA9.9020000@leat.rub.de> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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: Mon, 03 Mar 2008 21:00:54 -0000 On Fri, Feb 29, 2008 at 02:46:17PM +0100, Fabian Greffrath wrote: > 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... ;) Maybe Okuji knows... ;-) > 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 > . Ok no big deal. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)