diff options
author | 2007-03-25 05:16:46 +1000 | |
---|---|---|
committer | 2007-03-25 05:16:46 +1000 | |
commit | e750f1a3c2a76a1bf5093195ebb40e05e069281b (patch) | |
tree | d6b93630a63c99f72fda1b3349b5867aede2e756 /doc_src/index.hdr.in | |
parent | 3f4b47b4afaef9654c5e89de17072ac9d441d43a (diff) |
Minor documentation fixes
darcs-hash:20070324191646-ac50b-0892de7e96348caf198830af2b2ad46b84f9f13e.gz
Diffstat (limited to 'doc_src/index.hdr.in')
-rw-r--r-- | doc_src/index.hdr.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index 77f1eb7f..1d6797bc 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -741,8 +741,8 @@ command</a>. Example: -To set the variable \c smurf to the value \c blue, use the command -<code>set smurf blue</code>. +To set the variable \c smurf_color to the value \c blue, use the command +<code>set smurf_color blue</code>. After a variable has been set, you can use the value of a variable in the shell through <a href="expand-variable">variable expansion</a>. @@ -751,7 +751,8 @@ Example: To use the value of a the variable \c smurf, write $ (dollar symbol) followed by the name of the variable, like <code>echo Smurfs are -$smurf</code>, which would print the result 'Smurfs are blue'. +usually $smurf_color</code>, which would print the result 'Smurfs are +usually blue'. \subsection variables-scope Variable scope |