css-team: spellcheck

git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@283 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
terehm 2018-11-20 07:19:12 +00:00
parent 18a17b428c
commit 142b71f5ab
6 changed files with 26 additions and 26 deletions

View File

@ -11,7 +11,7 @@ next-page: pages/cmd/advanced/colrm.html
In computing, <code>bc</code> is a command in Unix operating systems that can do easy
calculations in the shell.<br>
Usually input are passed using the <code>echo</code> command and pipes.
Usually input is passed in using the <code>echo</code> command and pipes.
The name stands for <i>Basic Calculator</i>.<br>
<pre>
@ -21,9 +21,9 @@ echo "(12 / 2 - 3) * 3 + 1.5" | bc
<h3>Interactive mode</h3>
Using the interactive mode makes you do calculations freely in a special shell inside the shell.
Using the interactive mode lets you do calculations freely in a special shell inside the shell.
All you need to do is run the bc command with the <code>-i</code> flag
and no parameter.<br>
and no parameters.<br>
To exit the interactive mode, write <i>quit</i>.
<pre>

View File

@ -8,7 +8,7 @@ title: colrm
previous-page: pages/cmd/advanced/bc.html
next-page: pages/cmd/advanced/comm.html
---
The <code>colrm</code> is a command that removes the column that you indicate <br>
<code>colrm</code> is a command that removes the column that you indicate <br>
Here we have a file named <code>example.txt</code> that contains two lines to test this command:<br>
@ -28,13 +28,13 @@ colrm 4 &lt; example.txt
abc
</pre>
How you can see, if I don't indicate the last column, the command removes
all the colums starting from 4 included.
As you can see, if I don't indicate the last column, the command removes
all the columns starting from 4 included.
<pre>
colrm 2 4 &lt; example.txt
156789
aefghi
</pre>
Here, how you can see, the command has removed not all the columns, but only the colums that
starting at 2 and ending at 4, included.
Here, as you can see, the command has not removed all the columns, but only the columns that
between 2 and 4, inclusive

View File

@ -9,10 +9,10 @@ previous-page: pages/cmd/advanced/colrm.html
next-page: pages/cmd/advanced/diff.html
---
The <code>comm</code> is a command that compares two sorted files
line by line and writes the output: the lines that are in common and the lines that are unique.<br>
line by line and writes the output: the lines they have in common and the lines that are unique.<br>
Here we have two files named <code>example1.txt</code> and
<code>example2.txt</code> that contain 5 elements, to test this command:<br>
<code>example2.txt</code> that each contain 5 elements, to test this command:<br>
<code>example1.txt</code>
{% highlight bash %}
@ -34,7 +34,7 @@ Pizza
The syntax command is:
<pre>
comm [flag][file1] [file2]
comm [flag] [file1] [file2]
</pre>
<pre>
@ -50,14 +50,14 @@ comm example1.txt example2.txt
<ul>
<li>The elements of the first file have less indentation.</li>
<li>The elements of the second file have some more indentation.</li>
<li>The elements in common have even more indentation than those of the second file.</li>
<li>The elements of the second file are more indented</li>
<li>The elements in common are even more indented than those of the second file.</li>
</ul>
<h3>Flags</h3>
<ul>
<li> <b>-1</b>: supress column 1</li>
<li> <b>-2</b>: supress column 2</li>
<li> <b>-3</b>: supress column 3</li>
<li> <b>-1</b>: suppress column 1</li>
<li> <b>-2</b>: suppress column 2</li>
<li> <b>-3</b>: suppress column 3</li>
</ul>

View File

@ -9,7 +9,7 @@ previous-page: pages/cmd/advanced/comm.html
next-page: pages/cmd/advanced/echo.html
---
The command <code>diff</code> analyzes two files and prints the lines that are different.
The <code>diff</code> command analyzes two files and prints the lines that are different.
Essentially, it outputs a set of instructions for how to change one file to
make it identical to the second file.<br>

View File

@ -10,13 +10,13 @@ next-page: pages/cmd/advanced/emacs.html
---
In computing, <code>echo</code> is a command in Unix operating systems that outputs the
strings it is being passed as arguments.<br>
strings that are passed to it as arguments.<br>
It is a command typically used to output status text to the screen or a
computer file, or as a source part of a pipeline.<br>
To use this simple command just type "echo" with the topic we want to
print. The computer will return your argument as a string
To use this simple command just type "echo" with the topic you want to
print. The computer will return your argument as a string.
<pre>
echo "hello world"

View File

@ -8,10 +8,10 @@ title: grep
previous-page: pages/cmd/advanced/emacs.html
next-page: pages/cmd/advanced/head-tail.html
---
The <code>grep</code> is a command that permits to search occurences of a
keyword or more in a file or more. Through some flags you can decide the search criteria.
<code>grep</code> is a command that allows you to search occurrences of one or more
keywords in one or more files. Through some flags you can decide on the search criteria.
The command grep is case sensitive (robot is different from Robot), but we will see how
to ignore it.<br>
to ignore that.<br>
Here we have two files named <code>example1.txt</code> and
<code>example2.txt</code> that contain 5 elements, to test this command:
@ -50,7 +50,7 @@ Your output will be this because grep found the keyword Robot in both files
Here a list that contains the main flags of these command:
<ul>
<li> <b>-i</b>: this flag ignore the case sensitive. Here we can write Robot or
<li> <b>-i</b>: this flag ignores case sensitivity. Here we can write Robot or
robot that grep will find the correspondence.
<pre>
grep -i robot example1.txt example2.txt
@ -59,7 +59,7 @@ grep -i robot example1.txt example2.txt
</pre>
</li>
<li> <b>-v</b>: this flag ignore the keyword from the search.
<li> <b>-v</b>: this flag ignores the keyword from the search.
<pre>
grep -i -v robot example1.txt example2.txt
example1.txt:Car
@ -86,6 +86,6 @@ grep -i -c robot example1.txt
grep -i -h apple example1.txt example2.txt
Apple
</pre>
How you can see the output doesn't show tha file name <code>example2.txt</code>
How you can see the output doesn't show the file name <code>example2.txt</code>
</li>
</ul>