From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Hzshl-0004lS-HD for mharc-grub-devel@gnu.org; Sun, 17 Jun 2007 07:14:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hzshk-0004lH-Jb for grub-devel@gnu.org; Sun, 17 Jun 2007 07:14:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hzshj-0004kw-BA for grub-devel@gnu.org; Sun, 17 Jun 2007 07:14:00 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hzshj-0004kp-6s for grub-devel@gnu.org; Sun, 17 Jun 2007 07:13:59 -0400 Received: from mu-out-0910.google.com ([209.85.134.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hzshi-0006gq-Tn for grub-devel@gnu.org; Sun, 17 Jun 2007 07:13:59 -0400 Received: by mu-out-0910.google.com with SMTP id g7so1510610muf for ; Sun, 17 Jun 2007 04:13:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=Nj2LfhAG4AMIlsI8EQCuzR/Ufhq8lQC3/7B67yt4hMaVLsio325pQIdytOBBAVg2GA2ML4imKDkCZnxY1weBSktk9cQWG2IkgIy/KffKX6tSTo+0SmS1pDOkCRPdDcC/jJuSPrvIrZUcF+hyQZJHhDoQDh94rBP4UADK/cIrXAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=lWPyeQn/jxF5zp/o5Z4BYV3Ea2s4+gldpc6oskv+VxUSjQKKHAIo4Nd117zUHvXLtp2NkJ4jKXvRH60iusG0vpW0kajj3JW5tV/ZjG5+NYhb6ds1q5fEFesTNa/VCkwjA7qAeU3lB+pN0a38VraPhgVqFh2PrIBlplyrIs+ZRbY= Received: by 10.82.174.20 with SMTP id w20mr9211976bue.1182078837939; Sun, 17 Jun 2007 04:13:57 -0700 (PDT) Received: from ?192.168.1.8? ( [88.9.199.48]) by mx.google.com with ESMTP id 34sm9848501nfu.2007.06.17.04.13.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 17 Jun 2007 04:13:57 -0700 (PDT) Message-ID: <46751770.4080807@gmail.com> Date: Sun, 17 Jun 2007 13:13:52 +0200 From: adrian15 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: Linux 2.6 (newer, 2) Subject: echo gives internal error with \n 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: Sun, 17 Jun 2007 11:14:00 -0000 I've activated the echo command (also the pause command) which it is equivalent to the echo command... and have done some tests: grub> pause fjfjl fjfjl grub> pause "fjfjl" fjfjl grub> pause -n \n error: Internal error grub> pause \n error: Internal error grub> pause -n "\n" \n grub> pause -e "\n" grub> echo fasf fasf grub> Two conclusions from these tests: 1) When you use \n in string that does not begin with " then it gives an internal error. I do not see anything special on echo.c so I suppose it's the fault of the parser, however I have not studied the parser yet... so marco_g what's your opinnion? 2) The -e option is not implemented. :) I've checked the code and it is not. However I doubt if it's going to work... I ask myself if the grub> string always appears at the beginning of the line. pause is equivalent to echo command but if you want to check what I am saying check my other email that contains a patch for having both echo and pause commands. adrian15