Skip to content

Commit

Permalink
Backtick tools in LOs
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Dec 23, 2024
1 parent 95a4e67 commit fea339a
Show file tree
Hide file tree
Showing 16 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions common-content/en/module/tools/awk/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ time = 20
facilitation = false
emoji= "💻"
[objectives]
1="Filter a space-separated file and extract a positional field using awk"
2="Sum the numbers in a column of a space-separated file using awk"
3="Explain what NF and $NF mean in awk"
1="Filter a space-separated file and extract a positional field using `awk`"
2="Sum the numbers in a column of a space-separated file using `awk`"
3="Explain what `NF` and `$NF` mean in awk"
+++

`awk` is a tiny programming language for manipulating columns of data.
Expand Down
4 changes: 2 additions & 2 deletions common-content/en/module/tools/bitwise-operators/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ time = 120
facilitation = false
emoji= "📖"
objectives=[
"Describe the meaning of the &, |, ^, and ~ bitwise operators.",
"Manually perform the function of the &, |, ^, and ~ bitwise operators on two integers.",
"Describe the meaning of the `&`, `|`, `^`, and `~` bitwise operators.",
"Manually perform the function of the `&`, `|`, `^`, and `~` bitwise operators on two integers.",
]
+++

Expand Down
2 changes: 1 addition & 1 deletion common-content/en/module/tools/cat-1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ time = 10
facilitation = false
emoji= "💻"
[objectives]
1="Show the contents of a file with cat"
1="Show the contents of a file with `cat`"
+++

`cat` is a tool for getting the contents of files.
Expand Down
2 changes: 1 addition & 1 deletion common-content/en/module/tools/cat-2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ facilitation = false
emoji= "💻"
hide_from_overview = true
[objectives]
1="Show the contents of a file, including line numbers, with cat"
1="Show the contents of a file, including line numbers, with `cat`"
2="Concatenate multiple files outputting to the terminal"
+++

Expand Down
6 changes: 3 additions & 3 deletions common-content/en/module/tools/grep-in-pipelines/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ time = 20
facilitation = false
emoji= "💻"
[objectives]
1="List the files in a directory which contain an upper-case letter in their name with ls and grep."
2="Count the number of files in a directory which contain an upper-case letter in their name with ls, grep, and wc."
3="Explain why we don't need to pass -1 to ls when piping its output."
1="List the files in a directory which contain an upper-case letter in their name with `ls` and `grep`."
2="Count the number of files in a directory which contain an upper-case letter in their name with `ls`, `grep`, and `wc`."
3="Explain why we don't need to pass `-1` to `ls` when piping its output."
+++

We've already used grep to search for text in files using regular expressions.
Expand Down
4 changes: 2 additions & 2 deletions common-content/en/module/tools/grep/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ time = 30
facilitation = false
emoji= "💻"
[objectives]
1="Identify the lines in a file which contain a string using grep"
2="Identify which files contain a string using grep"
1="Identify the lines in a file which contain a string using `grep`"
2="Identify which files contain a string using `grep`"
+++

`grep` is a tool for searching files for text.
Expand Down
6 changes: 3 additions & 3 deletions common-content/en/module/tools/head-and-tail/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ time = 20
facilitation = false
emoji= "💻"
[objectives]
1="Output the first 5 lines of a file using head"
2="Output the last 5 lines of a file using tail"
3="Output the five lines starting 10 lines into a file using head and tail"
1="Output the first 5 lines of a file using `head`"
2="Output the last 5 lines of a file using `tail`"
3="Output the five lines starting 10 lines into a file using `head` and `tail`"
+++

`head` outputs lines (or bytes) from the start of a file. `tail` outputs lines (or bytes) from the end of a fail.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ time = 30
facilitation = false
emoji= "💻"
[objectives]
1="Identify which of {cat, ls, wc, grep, sed, awk} will be useful to solve a given problem"
1="Identify which of {`cat`, `ls`, `wc`, `grep`, `sed`, `awk`} will be useful to solve a given problem"
+++

Through this course, we are going to write lots of programs.
Expand Down
2 changes: 1 addition & 1 deletion common-content/en/module/tools/jq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ time = 90
facilitation = false
emoji= ""
[objectives]
1="Use jq to retrieve information from a JSON file"
1="Use `jq` to retrieve information from a JSON file"
+++

All of the tools we've seen so far operate on lines, words, or characters.
Expand Down
2 changes: 1 addition & 1 deletion common-content/en/module/tools/ls/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ time = 15
facilitation = false
emoji= "💻"
[objectives]
1="List the files (and directories) in a directory with ls"
1="List the files (and directories) in a directory with `ls`"
+++

`ls` is a tool for listing the files in a directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ objectives=[
"Describe what a variable is.",
"Describe how a variable relates to a memory location.",
"Give examples of common operators.",
"Describe the meaning of the && (and), || (or), and ! (not) operators.",
"Describe the meaning of the `&&` (`and`), `||` (`or`), and `!` (`not`) operators.",
"Explain what happens when you call a function.",
]
+++
Expand Down
6 changes: 3 additions & 3 deletions common-content/en/module/tools/sed/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ time = 30
facilitation = false
emoji= "💻"
[objectives]
1="Remove numbers from the start of lines in a file using sed"
2="Replace occurences of one string in a file with another using sed"
3="Print the lines of a file which don't contain some string using sed"
1="Remove numbers from the start of lines in a file using `sed`"
2="Replace occurrences of one string in a file with another using `sed`"
3="Print the lines of a file which don't contain some string using `sed`"
+++

`sed` is a tool for replacing text in files with other text.
Expand Down
2 changes: 1 addition & 1 deletion common-content/en/module/tools/shell-pipelines/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ emoji= "💻"
1="Describe what a shell pipeline is."
2="Explain why we use shell pipelines."
3="Explain the difference between stdout and stderr."
4="Explain what gets passed between two programs when they're combined with a |."
4="Explain what gets passed between two programs when they're combined with a `|`."
+++

Read the learning objectives listed on this page: Bear in mind what you’re trying to achieve while reading this text. If a topic isn’t making much sense, and isn’t in the objectives, you can probably skip over it. If a topic is listed in the objectives, you should keep studying it until you are confident you’ve met the objective.
Expand Down
2 changes: 1 addition & 1 deletion common-content/en/module/tools/sort-and-uniq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ time = 20
facilitation = false
emoji= "💻"
[objectives]
1="Count the occurrences of different lines within a file using sort and uniq"
1="Count the occurrences of different lines within a file using `sort` and `uniq`"
+++

`sort` sorts its input. `uniq` deduplicates adjacent matching lines.
Expand Down
2 changes: 1 addition & 1 deletion common-content/en/module/tools/tr/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ time = 20
facilitation = false
emoji= "💻"
[objectives]
1="Replace all occurrences of one character with another using tr"
1="Replace all occurrences of one character with another using `tr`"
+++

`tr` translates (replaces) characters.
Expand Down
4 changes: 2 additions & 2 deletions common-content/en/module/tools/wc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ time = 10
facilitation = false
emoji= "💻"
[objectives]
1="Count the bytes, words, and lines of a file with wc"
2="Count just the words of a file with wc"
1="Count the bytes, words, and lines of a file with `wc`"
2="Count just the words of a file with `wc`"
+++

`wc` is a tool for counting the bytes, words, or lines in a file.
Expand Down

0 comments on commit fea339a

Please sign in to comment.