diff --git a/docs/index.md b/docs/index.md index ec6a9729..72099633 100644 --- a/docs/index.md +++ b/docs/index.md @@ -18,37 +18,6 @@ Next scheduled workshop
*source: [(some years ago)](http://web.archive.org/web/20160324050308/http://awk.info/?whygawk "Way back to 2016") http://awk.info/?whygawk -```mermaid -flowchart TD - - can_use_script[Can use a script?] - can_use_sed[Can use sed?] - can_use_grep[Can use grep?] - - awk[Use Awk] - c[Use C] - sed[Use sed] - grep[Use grep] - - compiled_language[Compiled language] - scripting_language[Scripting language] - - stream_editor[Stream editor] - work_with_regular_expressions[Work with regular expressions] - - awk --> |is a| scripting_language - c --> |is a| compiled_language - sed --> |is a| stream_editor - grep --> |allows to| work_with_regular_expressions - - can_use_script --> |no| c - can_use_script --> |yes| can_use_sed - can_use_sed --> |no| awk - can_use_sed --> |yes| can_use_grep - can_use_grep --> |no| sed - can_use_grep --> |yes| grep -``` - ## Objectives --- * The material on this site **is not a complete** guide or awk manual. diff --git a/lesson_plans/20240122/README.md b/lesson_plans/20240122/README.md index 08886c4a..c2a42681 100644 --- a/lesson_plans/20240122/README.md +++ b/lesson_plans/20240122/README.md @@ -59,3 +59,34 @@ In teaching cycles: - What is Awk? + +```mermaid +flowchart TD + + can_use_script[Can use a script?] + can_use_sed[Can use sed?] + can_use_grep[Can use grep?] + + awk[Use Awk] + c[Use C] + sed[Use sed] + grep[Use grep] + + compiled_language[Compiled language] + scripting_language[Scripting language] + + stream_editor[Stream editor] + work_with_regular_expressions[Work with regular expressions] + + awk --> |is a| scripting_language + c --> |is a| compiled_language + sed --> |is a| stream_editor + grep --> |allows to| work_with_regular_expressions + + can_use_script --> |no| c + can_use_script --> |yes| can_use_sed + can_use_sed --> |no| awk + can_use_sed --> |yes| can_use_grep + can_use_grep --> |no| sed + can_use_grep --> |yes| grep +```