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/grep_ls.png"alt="CLI text processing with GNU grep and ripgrep ebook cover image" /></p>
8
6
9
-
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)
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
@@ -18,37 +16,35 @@ See [Version_changes.md](./Version_changes.md) to keep track of changes made to
18
16
19
17
# E-book
20
18
21
-
You can purchase the pdf/epub versions of the book using these links:
19
+
* You can purchase the pdf/epub versions of the book using these links:
You can also get the book as part of these bundles:
27
-
28
-
***Magical one-liners** bundle from https://learnbyexample.gumroad.com/l/oneliners or https://leanpub.com/b/oneliners
29
-
***Awesome Regex** bundle from https://learnbyexample.gumroad.com/l/regex or https://leanpub.com/b/regex
30
-
***All books bundle** bundle from https://learnbyexample.gumroad.com/l/all-books
31
-
* Includes all my programming books
32
-
33
-
See https://learnbyexample.github.io/books/ for a list of other books
34
-
35
-
For a preview of the book, see [sample chapters](https://github.com/learnbyexample/learn_gnugrep_ripgrep/blob/master/sample_chapters/gnu_grep_sample.pdf)
29
+
For a preview of the book, see [sample chapters](./sample_chapters/gnu_grep_sample.pdf).
36
30
37
31
The book can also be [viewed as a single markdown file in this repo](./gnu_grep.md). See my blogpost on [generating pdfs from markdown using pandoc](https://learnbyexample.github.io/tutorial/ebook-generation/customizing-pandoc/) if you are interested in the ebook creation process.
38
32
39
33
For the web version of the book, visit https://learnbyexample.github.io/learn_gnugrep_ripgrep/
40
34
41
35
<br>
42
36
43
-
# Feedback
37
+
# Feedback and Contributing
44
38
45
-
[Open an issue](https://github.com/learnbyexample/learn_gnugrep_ripgrep/issues) if you spot any typo/errors.
39
+
⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.
46
40
47
-
:warning::warning: Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.
41
+
I would highly appreciate 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.
48
42
49
-
I'd also highly appreciate your feedback about the book.
*[GNU grep documentation](https://www.gnu.org/software/grep/manual/grep.html) — manual and examples
74
70
*[ripgrep](https://github.com/BurntSushi/ripgrep) — user guide and examples
75
-
*[stackoverflow](https://stackoverflow.com/) and [unix.stackexchange](https://unix.stackexchange.com/) — for getting answers to pertinent questions on `bash`, `grep` and other commands
71
+
*[stackoverflow](https://stackoverflow.com/) and [unix.stackexchange](https://unix.stackexchange.com/) — for getting answers to pertinent questions on `grep` and related commands
76
72
*[tex.stackexchange](https://tex.stackexchange.com/) — for help on [pandoc](https://github.com/jgm/pandoc/) and `tex` related questions
*[detective](https://www.flickr.com/photos/32068925@N08/3028314931) by [olarte.ollie](https://www.flickr.com/photos/ollieolarte/) under [Creative Commons Attribution-Share Alike 2.0 Generic](https://creativecommons.org/licenses/by-sa/2.0/)
80
-
*[pngquant](https://pngquant.org/) and [svgcleaner](https://github.com/RazrFalcon/svgcleaner) for optimizing images
81
-
*[softwareengineering.stackexchange](https://softwareengineering.stackexchange.com/questions/39/whats-your-favourite-quote-about-programming) and [skolakoda](https://skolakoda.org/programming-quotes) for programming quotes
73
+
*[/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
74
+
*[canva](https://www.canva.com/) — cover image
75
+
*[oxipng](https://github.com/shssoichiro/oxipng), [pngquant](https://pngquant.org/) and [svgcleaner](https://github.com/RazrFalcon/svgcleaner) — optimizing images
82
76
*[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
83
-
*[Andrew Gallant](https://blog.burntsushi.net/about/) (author of `ripgrep`) and [mikeblas](https://www.reddit.com/user/mikeblas) for critical feedback
77
+
*[carbon](https://carbon.now.sh/) — creating terminal screenshots with highlighted text
78
+
*[Andrew Gallant](https://blog.burntsushi.net/about/) (author of `ripgrep`), [mikeblas](https://old.reddit.com/user/mikeblas) and [Pound-Hash](https://github.com/Pound-Hash) for critical feedback
84
79
*[mdBook](https://github.com/rust-lang/mdBook) — for web version of the book
85
80
*[mdBook-pagetoc](https://github.com/JorelAli/mdBook-pagetoc) — for adding table of contents for each chapter
86
81
*[minify-html](https://github.com/wilsonzlin/minify-html) — for minifying html files
@@ -91,6 +86,7 @@ Special thanks to all my friends and online acquaintances for their help, suppor
91
86
92
87
# License
93
88
94
-
The book is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/)
89
+
The book is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/).
90
+
91
+
The code snippets are licensed under MIT, see [LICENSE](./LICENSE) file.
95
92
96
-
The code snippets are licensed under MIT, see [LICENSE](./LICENSE) file
Copy file name to clipboardExpand all lines: Version_changes.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,21 @@
1
1
<br>
2
2
3
+
### 2.0
4
+
5
+
* Command versions updated to **GNU grep 3.10** and **ripgrep 13.0.0**
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/GrepExercises)
7
+
* PCRE chapter — added section for conditional grouping, corrected description and examples for `\K`, atomic grouping, etc
8
+
* ripgrep chapter — options and regex section modified to present only differences compared to `GNU grep`, added details for more options such as `--field-match-separator`, improved recursive search section, etc
9
+
* Long sections split into smaller ones
10
+
* In general, many of the examples, exercises, solutions, descriptions and external links were updated/corrected
11
+
* Updated Acknowledgements section
12
+
* Code snippets related to info/warning sections will now appear as a single block
13
+
* Book title changed to **CLI text processing with GNU grep and ripgrep**
14
+
* New cover image
15
+
* Images centered for EPUB format
16
+
17
+
<br>
18
+
3
19
### 1.7
4
20
5
21
* Command versions updated to **GNU grep 3.6** and **ripgrep 12.1.1**
0 commit comments