diff --git a/9_batch_processing.Rmd b/9_batch_processing.Rmd index 58c700eaf9134b3f9cd78c1ebdd9b6c2455bfe36..8d817ce23a7b29906c69dda3269ef4517dccd92d 100644 --- a/9_batch_processing.Rmd +++ b/9_batch_processing.Rmd @@ -58,7 +58,7 @@ CMD1 || CMD2 # Executing list of commands -The easiest option to execute list of command is to use `xargs`. `xargs` reads arguments from **stdin** and use them as argument for a command. In UNIX systems the command `echo` send string of character into **stdout**. We are going to use this command to learn more about `xargs`. +The easiest option to execute list of command is to use `xargs`. `xargs` reads arguments from **stdin** and use them as arguments for a command. In UNIX systems the command `echo` send string of character into **stdout**. We are going to use this command to learn more about `xargs`. ```sh echo "hello world" @@ -148,7 +148,7 @@ There are also some predefined variables that you can use like. - `$0` Correspond to all the columns. - `FS` the field separator used - `NF` the number of fields separated by `FS` -- `NR` the number for records already read +- `NR` the number of records already read A `awk` program is a chain of commands with the form `motif { action }`