On Wed, Jan 30, 2008 at 11:13:50PM +0100, Franklin PIAT wrote: > 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"
Did you try ${i} and $(i)? (just guessing). > ** How would you define the "rescue" mode ? In what situation > can it be useful to the user ? Only when something breaks. For example, when GRUB can't load normal.mod (and its associated modules), it dumps you to rescue mode. > ** Does the "ofconsole" console supports unicode ? No. -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call… if you are unable to speak? (as seen on /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel