scripting-team: fix dead link, add next/prev page arrows
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@194 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
deffdc0da1
commit
2280587c06
2 changed files with 7 additions and 7 deletions
site/pages/scripts
|
@ -5,11 +5,11 @@ category-title: Scripting
|
|||
tags: array variable many index selector
|
||||
author: Marco Tereh
|
||||
title: Arrays
|
||||
previous-page: pages/scripts/parameter-expansion.html
|
||||
next-page: while-loop.html
|
||||
---
|
||||
|
||||
<p>
|
||||
<!-- add link to page on variables once it exists -->
|
||||
There is a special kind of <a href="#">variable</a>, called an array.<br>
|
||||
There is a special kind of <a href="variables.html">variable</a>, called an array.<br>
|
||||
|
||||
While variables hold a single value, arrays hold many. They could be called a list of variables.
|
||||
The simplest way to create an array is using this format:
|
||||
|
@ -103,5 +103,4 @@ is equivalent to <code>"Mario" "Luigi"</code>, while
|
|||
counts the number of elements in the array, in this case 3.<br>
|
||||
|
||||
<br>
|
||||
Further reading: <a href="http://www.gnu.org/software/bash/manual/bashref.html#Arrays">the bash reference manual</a>
|
||||
</p>
|
||||
Further reading: <a href="http://www.gnu.org/software/bash/manual/bashref.html#Arrays">the bash reference manual</a>
|
|
@ -5,10 +5,11 @@ category-title: Scripting
|
|||
tags: parameter expansion brace variable check condition empty exists
|
||||
author: Marco Tereh
|
||||
title: Parameter expansion
|
||||
previous-page: pages/scripts/special_variables.html
|
||||
next-page: pages/scripts/arrays.html
|
||||
---
|
||||
|
||||
<!-- TODO: insert correct link once page exists -->
|
||||
There are some special operations that can be performed on <a href="#">variables</a> and strings called parameter expansions.
|
||||
There are some special operations that can be performed on <a href="variables.html">variables</a> and strings called parameter expansions.
|
||||
The general syntax for all parameter expansions is this one:
|
||||
{% highlight bash %}
|
||||
${CODE_HERE}
|
||||
|
|
Loading…
Reference in a new issue