Skip to content

Commit 1fde143

Browse files
Merge pull request #5 from richelbilderbeek/master
Add actual material
2 parents b52acea + a9aa8b1 commit 1fde143

File tree

19 files changed

+274
-36
lines changed

19 files changed

+274
-36
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: ci
2+
23
on:
34
push:
4-
branches:
5-
- master
5+
pull_request:
6+
schedule:
7+
- cron: "0 0 1 * *"
8+
69
jobs:
710
deploy:
811
runs-on: ubuntu-latest

.spellcheck.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,5 @@ matrix:
1919
- 'pre'
2020
- 'blockquote'
2121
sources:
22-
- '**/*.md'
23-
default_encoding: utf-8
24-
- name: Quarto markdown
25-
dictionary:
26-
wordlists:
27-
- .wordlist.txt
28-
output: wordlist.dic
29-
encoding: utf-8
30-
pipeline:
31-
- pyspelling.filters.markdown:
32-
markdown_extensions:
33-
- markdown.extensions.extra:
34-
- pyspelling.filters.html:
35-
comments: false
36-
attributes:
37-
- alt
38-
ignores:
39-
- ':matches(code, pre)'
40-
- 'code'
41-
- 'pre'
42-
- 'blockquote'
43-
sources:
44-
- '**/*.md'
22+
- 'docs/**/*.md'
4523
default_encoding: utf-8

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ This is the GitHub repository of the UPPMAX AWK course.
44

55
A nicely-rendered website of this repo is at <https://richelbilderbeek.github.io/awk_course/>.
66

7-
## Files used for continuous integration scripts
7+
## Files used by continuous integration scripts
88

99
Filename |Descriptions
1010
-----------------------------------|------------------------------------------------------------------------------------------------------
11-
[mlc_config.json](mlc_config.json) |Configuration of the link checker
11+
[mlc_config.json](mlc_config.json) |Configuration of the link checker, use `markdown-link-check --config mlc_config.json --quiet docs/**/*.md` to do link checking locally
1212
[.spellcheck.yml](.spellcheck.yml) |Configuration of the spell checker, use `pyspelling -c .spellcheck.yml` to do spellcheck locally
1313
[.wordlist.txt](.wordlist.txt) |Whitelisted words for the spell checker, use `pyspelling -c .spellcheck.yml` to do spellcheck locally
1414

docs/afternoon_session/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ Time | Topic
1919
15:00-16:00 | Break
2020
15:15-16:00 | [Related tools](related_tools.md)
2121

22+
> The times in this schedules are only guidelines.
23+
> The pace of the learners determines the speed of
24+
> going through the course material.
25+
2226
Extra material:
2327

2428
- [Built-in functions](https://learnbyexample.github.io/learn_gnuawk/built-in-functions.html)

docs/morning_session/overview.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ Time | Topic
1010
10:00-10:15 | Break
1111
10:15-11:00 | [BEGIN and END](begin_and_end.md), [variables](variables.md)
1212
11:00-11:15 | Break
13-
11:15-12:00 | [Associative arrays](associative_arrays.md), [working with comma-separated values](working_with_csvs.md)
13+
11:15-12:00 | [working with comma-separated values](working_with_csvs.md), [Associative arrays](associative_arrays.md)
14+
15+
> The times in this schedules are only guidelines.
16+
> The pace of the learners determines the speed of
17+
> going through the course material.
1418
1519
## Overview
1620

@@ -34,6 +38,16 @@ flowchart TD
3438
filtering_on_regex --> |needs| filtering_on_values
3539
```
3640

41+
42+
Description |Syntax
43+
-------------------------|---------------------
44+
Do an action |`{ [action] }`
45+
Filtering |`[condition] { [action] }`
46+
Multiple filters |`[condition_1] { [action_1] } [condition_2] { [action_2] }`
47+
Actions at begin and end |`BEGIN { [action]} [condition] { [action] } END { [action]}`
48+
49+
> Overview of the Awk syntax built-up
50+
3751
## Links
3852

3953
* [CLI text processing with GNU awk](https://learnbyexample.github.io/learn_gnuawk/)

evaluations/20240122/1.png

60.8 KB
Loading

evaluations/20240122/2.png

41.8 KB
Loading

evaluations/20240122/3.png

41.7 KB
Loading

evaluations/20240122/4.png

58.3 KB
Loading

evaluations/20240122/5.png

31.6 KB
Loading

0 commit comments

Comments
 (0)