Skip to content
Snippets Groups Projects
Commit ad58433f authored by Holger Dinkel's avatar Holger Dinkel
Browse files

MINOR: add more indices

parent abd618ec
No related branches found
No related tags found
No related merge requests found
......@@ -293,8 +293,8 @@ A) Evaluating the exit status of a command: Simply use the command as condition.
B) Evaluating of conditions or comparisons:
Conditions and comparisons are evaluated using a special :index:`command <test>` ``test`` which is
usually written :index:`as<[>` "``[``" (no joke!). As "``[``" is a command, it must be followed by
a blank. As a speciality the "``[``" command must be ended with "`` ]``" (note the
usually written :index:`as <[>` "``[``" (no joke!). As "``[``" is a command, it must be followed by
a blank. As a speciality the "``[``" command must be :index:`ended <]>` with "``]``" (note the
preceding blank here)
.. Note:: In csh/tcsh the ``test`` (or ``[``) command is not needed. Conditions and comparisons are directly placed within the round braces.
......
......@@ -5,7 +5,7 @@ More Commandline Tools
Here is a quick list of useful commandline tools which will be used throughout the rest of the document.
Many of these tools have quite extensive functionality and only a very limited part can be discussed here,
so the reader is encouraged to read more about these using the links given in the in the :ref:`Links <Links>`
so the reader is encouraged to read more about these using the links given in the in the :doc:`links <links>`
section...
Commandline Tools
......@@ -17,7 +17,8 @@ GZIP
----
:index:`gzip <gzip>` is a compression/decompression tool.
When used on a file (without any parameters) it will compress it and replace the
file by a compressed version with the extension '.gz' attached:
:index:`file <ls>` by a compressed version with the extension '.gz' attached:
::
......@@ -565,7 +566,7 @@ Quoting
In Programming it is often necessary to "glue together" certain words. Usually, a program or
the shell splits sentences by whitespace (space or tabulators) and treats each word
individually. In order to tell the computer that certain words belong together, you need to
"quote" them, using either single (') or double (") quotes. The difference between these two is
":index:`quote <quoting>`" them, using either single (') or double (") quotes. The difference between these two is
generally that within double quotes, variables will be expanded, while everything within
single quotes is treated as string literal.
When setting a variable, it doesn't matter which quotes you use:
......@@ -626,7 +627,7 @@ You already learned how to expand a variable such that its value is used instead
# echo "the variable is $MYVAR"
the variable is 123
"Escaping" a variable is the opposite, ensuring that the literal variable name is used instead of its value:
":index:`Escaping <escape>`" a variable is the opposite, ensuring that the literal variable name is used instead of its value:
::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment