You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<palign="center"><imgsrc="./images/gawk_ls.png"alt="CLI text processing with GNU awk ebook cover image" /></p>
8
6
9
-
The book also includes exercises to test your understanding, which is presented together as a single file in this repo -[Exercises.md](./exercises/Exercises.md)
7
+
The book also includes exercises to test your understanding, which are presented together as a single file in this repo —[Exercises.md](./exercises/Exercises.md).
10
8
11
9
For solutions to the exercises, see [Exercise_solutions.md](./exercises/Exercise_solutions.md).
12
10
11
+
You can also use [this interactive TUI app](https://github.com/learnbyexample/TUI-apps/blob/main/AwkExercises) to practice some of the exercises from the book.
12
+
13
13
See [Version_changes.md](./Version_changes.md) to keep track of changes made to the book.
14
14
15
15
<br>
16
16
17
17
# E-book
18
18
19
-
You can purchase the pdf/epub versions of the book using these links:
20
-
21
-
*https://learnbyexample.gumroad.com/l/gnu_awk
22
-
*https://leanpub.com/gnu_awk
23
-
24
-
You can also get the book as part of these bundles:
25
-
26
-
***Magical one-liners** bundle from https://learnbyexample.gumroad.com/l/oneliners or https://leanpub.com/b/oneliners
27
-
***Awesome Regex** bundle from https://learnbyexample.gumroad.com/l/regex or https://leanpub.com/b/regex
28
-
***All books bundle** bundle from https://learnbyexample.gumroad.com/l/all-books
29
-
* Includes all my programming books
30
-
31
-
See https://learnbyexample.github.io/books/ for list of other books
19
+
* You can purchase the pdf/epub versions of the book using these links:
20
+
*https://learnbyexample.gumroad.com/l/gnu_awk
21
+
*https://leanpub.com/gnu_awk
22
+
* You can also get the book as part of these bundles:
23
+
***All books bundle** bundle from https://learnbyexample.gumroad.com/l/all-books
24
+
* Includes all my programming books
25
+
***Magical one-liners** bundle from https://learnbyexample.gumroad.com/l/oneliners or https://leanpub.com/b/oneliners
26
+
***Awesome Regex** bundle from https://learnbyexample.gumroad.com/l/regex or https://leanpub.com/b/regex
27
+
* See https://learnbyexample.github.io/books/ for a list of other books
32
28
33
-
For a preview of the book, see [sample chapters](https://github.com/learnbyexample/learn_gnuawk/blob/master/sample_chapters/gnu_awk_sample.pdf)
29
+
For a preview of the book, see [sample chapters](./sample_chapters/gnu_awk_sample.pdf).
34
30
35
-
The book can also be [viewed as a single markdown file in this repo](./gnu_awk.md). See my blogpost on [generating pdf from markdown using pandoc](https://learnbyexample.github.io/tutorial/ebook-generation/customizing-pandoc/) if you are interested in the ebook creation process.
31
+
The book can also be [viewed as a single markdown file in this repo](./gnu_awk.md). See my blogpost on [generating pdfs from markdown using pandoc](https://learnbyexample.github.io/customizing-pandoc/) if you are interested in the ebook creation process.
36
32
37
-
For web version of the book, visit https://learnbyexample.github.io/learn_gnuawk/
33
+
For the web version of the book, visit https://learnbyexample.github.io/learn_gnuawk/
38
34
39
35
<br>
40
36
@@ -52,15 +48,17 @@ For web version of the book, visit https://learnbyexample.github.io/learn_gnuawk
52
48
53
49
<br>
54
50
55
-
# Feedback
51
+
# Feedback and Contributing
56
52
57
-
[Open an issue](https://github.com/learnbyexample/learn_gnuawk/issues) if you spot any typo/errors.
53
+
⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.
58
54
59
-
:warning::warning: Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.
55
+
I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.
60
56
61
-
I'd also highly appreciate your feedback about the book.
*[GNU awk documentation](https://www.gnu.org/software/gawk/manual/) — manual and examples
92
-
*[stackoverflow](https://stackoverflow.com/) and [unix.stackexchange](https://unix.stackexchange.com/) — for getting answers to pertinent questions on `bash`, `awk` and other commands
90
+
*[stackoverflow](https://stackoverflow.com/) and [unix.stackexchange](https://unix.stackexchange.com/) — for getting answers to pertinent questions on `awk` and related commands
93
91
*[tex.stackexchange](https://tex.stackexchange.com/) — for help on [pandoc](https://github.com/jgm/pandoc/) and `tex` related questions
*[pngquant](https://pngquant.org/) and [svgcleaner](https://github.com/RazrFalcon/svgcleaner) for optimizing images
96
-
*[softwareengineering.stackexchange](https://softwareengineering.stackexchange.com/questions/39/whats-your-favourite-quote-about-programming) and [skolakoda](https://skolakoda.org/programming-quotes) for programming quotes
92
+
*[/r/commandline/](https://old.reddit.com/r/commandline), [/r/linux4noobs/](https://old.reddit.com/r/linux4noobs/), [/r/linuxquestions/](https://old.reddit.com/r/linuxquestions/) and [/r/linux/](https://old.reddit.com/r/linux/) — helpful forums
93
+
*[canva](https://www.canva.com/) — cover image
94
+
*[oxipng](https://github.com/shssoichiro/oxipng), [pngquant](https://pngquant.org/) and [svgcleaner](https://github.com/RazrFalcon/svgcleaner) — optimizing images
97
95
*[Warning](https://commons.wikimedia.org/wiki/File:Warning_icon.svg) and [Info](https://commons.wikimedia.org/wiki/File:Info_icon_002.svg) icons by [Amada44](https://commons.wikimedia.org/wiki/User:Amada44) under public domain
98
96
*[arifmahmudrana](https://github.com/arifmahmudrana) for spotting an ambiguous explanation
97
+
*[Pound-Hash](https://github.com/Pound-Hash) for critical feedback
99
98
*[mdBook](https://github.com/rust-lang/mdBook) — for web version of the book
100
99
*[mdBook-pagetoc](https://github.com/JorelAli/mdBook-pagetoc) — for adding table of contents for each chapter
101
100
*[minify-html](https://github.com/wilsonzlin/minify-html) — for minifying html files
@@ -106,7 +105,7 @@ Special thanks to all my friends and online acquaintances for their help, suppor
106
105
107
106
# License
108
107
109
-
The book is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/)
108
+
The book is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/).
110
109
111
-
The code snippets are licensed under MIT, see [LICENSE](./LICENSE) file
110
+
The code snippets are licensed under MIT, see [LICENSE](./LICENSE) file.
Copy file name to clipboardexpand all lines: Version_changes.md
+14
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,19 @@
1
1
<br>
2
2
3
+
### 2.0
4
+
5
+
* Command version updated to **GNU awk 5.2.2**
6
+
* Many more exercises added, and you can practice some of them using this [interactive TUI app](https://github.com/learnbyexample/TUI-apps/blob/main/AwkExercises)
7
+
* Long sections split into smaller ones
8
+
* In general, many of the examples, exercises, solutions, descriptions and external links were updated/corrected
9
+
* Updated Acknowledgements section
10
+
* Code snippets related to info/warning sections will now appear as a single block
11
+
* Book title changed to **CLI text processing with GNU awk**
12
+
* New cover image
13
+
* Images centered for EPUB format
14
+
15
+
<br>
16
+
3
17
### 1.4
4
18
5
19
* Added example for `NF` value when input line doesn't contain the input field separator or if it is empty.
0 commit comments