[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions for writing manpages
From: |
Robert Millan |
Subject: |
Re: Questions for writing manpages |
Date: |
Wed, 30 Jan 2008 23:29:21 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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 /.)
Re: Questions for writing manpages, Pavel Roskin, 2008/01/30