From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Hy8DW-0003K1-FI for mharc-grub-devel@gnu.org; Tue, 12 Jun 2007 11:23:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hy8DR-0003IU-Ux for grub-devel@gnu.org; Tue, 12 Jun 2007 11:23:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hy8DQ-0003Hi-MB for grub-devel@gnu.org; Tue, 12 Jun 2007 11:23:29 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy8DQ-0003Hc-JA for grub-devel@gnu.org; Tue, 12 Jun 2007 11:23:28 -0400 Received: from relay.udl.es ([193.144.10.29] helo=relay3.udl.es) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hy8DP-0002ht-RJ for grub-devel@gnu.org; Tue, 12 Jun 2007 11:23:28 -0400 Received: from jupiter.udl.net (jupiter.udl.net [172.16.2.2]) by relay3.udl.es (8.13.7/8.13.7) with ESMTP id l5CFN76Y001937 for ; Tue, 12 Jun 2007 17:23:12 +0200 Received: from [172.16.51.20] (PL-CAP020.udl.net [172.16.51.20]) by jupiter.udl.net (8.11.7p1+Sun/8.11.6) with ESMTP id l5CFBdq21939 for ; Tue, 12 Jun 2007 17:11:39 +0200 (MET DST) Message-ID: <466EA924.6090100@raulete.net> Date: Tue, 12 Jun 2007 16:09:40 +0200 From: adrian15 User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: The development of GRUB 2 References: <466E8A17.3030507@raulete.net> <20070612141626.GC1754@aragorn> In-Reply-To: <20070612141626.GC1754@aragorn> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (relay3.udl.es [10.69.4.19]); Tue, 12 Jun 2007 17:23:13 +0200 (CEST) X-Virus-Scanned: ClamAV 0.88.7/3407/Tue Jun 12 14:01:54 2007 on relay3.udl.es X-Virus-Status: Clean Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by relay3.udl.es id l5CFN76Y001937 X-detected-kernel: Linux 2.6 (newer, 2) Subject: Re: How to call a command from another one 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: Tue, 12 Jun 2007 15:23:30 -0000 Robert Millan escribi=F3: > On Tue, Jun 12, 2007 at 01:57:11PM +0200, adrian15 wrote: >> Hi, >> >> I want to implement the pause command so that it is the same thing as >> the echo command with all of its options and also that it stops. > I don't know how to call other commands, but in this case, maybe grub_p= rintf() > will be good enough? I agree with you but... I think it would be a good idea to have a pause message that has the=20 same options as the echo command because the echo command has some nice=20 options and because I like to reuse code. adrian15