From ce31be8265cece800feb46444db42022d1658983 Mon Sep 17 00:00:00 2001 From: terehm Date: Tue, 20 Nov 2018 07:44:19 +0000 Subject: [PATCH] css-team: proofread git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@284 a672b425-5310-4d7a-af5c-997e18724b81 --- site/pages/cmd/advanced/head-tail.html | 2 +- site/pages/cmd/advanced/nl.html | 8 ++++---- site/pages/cmd/advanced/paste.html | 4 ++-- site/pages/cmd/advanced/pipes.html | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/site/pages/cmd/advanced/head-tail.html b/site/pages/cmd/advanced/head-tail.html index 2ef58a0..1d10dda 100644 --- a/site/pages/cmd/advanced/head-tail.html +++ b/site/pages/cmd/advanced/head-tail.html @@ -9,7 +9,7 @@ previous-page: pages/cmd/advanced/grep.html next-page: pages/cmd/advanced/nl.html --- -The head command reads the first few lines of any text given to it as an input +The head command reads the first few lines of any text given to it as input and writes them to standard output.
If more than one input file is provided, head will return the first ten lines from each file, precede each set of lines by the name of the file and separate diff --git a/site/pages/cmd/advanced/nl.html b/site/pages/cmd/advanced/nl.html index 588a44f..0da18fc 100644 --- a/site/pages/cmd/advanced/nl.html +++ b/site/pages/cmd/advanced/nl.html @@ -8,7 +8,7 @@ title: nl previous-page: pages/cmd/advanced/head-tail.html next-page: pages/cmd/advanced/paste.html --- -The nl is a command that permits to number the lines. +nl is a command that allows you to number the lines. Through some flags you can decide how to filter this command.
We have a file named example.txt that contains 5 elements, to test this command: @@ -21,7 +21,7 @@ Smartphone Videogame {% endhighlight %} -The syntax command is: +The syntax is:
 nl [flags][file] 
@@ -33,12 +33,12 @@ nl example.txt
     5  Videogame
 
-How you can see the command has numbered the lines. +As you can see, the command has numbered the lines.

Flags

diff --git a/site/pages/cmd/advanced/pipes.html b/site/pages/cmd/advanced/pipes.html index 1cc0a04..51cc937 100644 --- a/site/pages/cmd/advanced/pipes.html +++ b/site/pages/cmd/advanced/pipes.html @@ -9,10 +9,10 @@ previous-page: pages/cmd/advanced/paste.html next-page: pages/cmd/advanced/tr.html --- -The pipes that in the shell are representend with the symbol | , -they are used to join two commands on the terminal, taking the output of the first +The pipes, which in the shell are represented with the symbol | , +are used to join two commands on the terminal, taking the output of the first command and using it as input of the second.
-It is usually common to see the command grep and ps together, +It is common to see the commands grep and ps together, an example below.
Example: lists all processes with your username