Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKLCS-00047g-TU for mharc-grub-devel@gnu.org; Wed, 30 Jan 2008 17:14:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKLCR-000472-ED for grub-devel@gnu.org; Wed, 30 Jan 2008 17:14:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKLCQ-00045W-0K for grub-devel@gnu.org; Wed, 30 Jan 2008 17:14:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKLCP-00045Q-O6 for grub-devel@gnu.org; Wed, 30 Jan 2008 17:14:29 -0500 Received: from smtp8-g19.free.fr ([212.27.42.65]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JKLCP-0001oY-CG for grub-devel@gnu.org; Wed, 30 Jan 2008 17:14:29 -0500 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id 8B7F017F518 for ; Wed, 30 Jan 2008 23:13:50 +0100 (CET) Received: from [192.168.0.20] (klabs.be [82.224.65.140]) by smtp8-g19.free.fr (Postfix) with ESMTP id 564D817F56A for ; Wed, 30 Jan 2008 23:13:50 +0100 (CET) From: Franklin PIAT To: The development of GRUB 2 Content-Type: text/plain Date: Wed, 30 Jan 2008 23:13:50 +0100 Message-Id: <1201731230.15073.45.camel@solid.paris.klabs.be> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Questions for writing manpages 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: Wed, 30 Jan 2008 22:14:31 -0000 Hello, I have some questions for the writing the documentation[1]. ** How to use "If [ $x=foo ] Then Else fi" statement ? I've successfully used : if [ A=B ] ; then echo "foo" ; else echo "bar" ; fi" But I cannot use variables, with either : if [ $i=B ] ; then echo "foo" ; else echo "bar" ; fi" if [ X$i=XB ] ; then echo "foo" ; else echo "bar" ; fi" ** How would you define the "rescue" mode ? In what situation can it be useful to the user ? ** Does the "ofconsole" console supports unicode ? Thanks for your help. Franklin [1] "manpages" : http://wiki.debian.org/Grub/Grub2