learn_gnugrep_ripgrep
learn_gnugrep_ripgrep copied to clipboard
[preface] English mechanics
One
You are likely to be familiar with using Ctrl+F from an editor, word processor, web browser, IDE, etc ., to quickly locate where a particular string occurs.
- Reason: See here
Two
grep is a similar, but much more versatile and feature-rich version of ~~the~~ that search functionality usable from the command line.
- Reason: We're being told that grep is a functionality, that is, a countable noun; it requires an article. Also, the is not the right word to refer to the Ctrl-F search functionality, since the is indefinite, but we need the definite.
Three
Modern requirements have given rise to tools like ripgrep that provide out-of-box features such as recursive search while respecting the ignore rules of a version controlled directory.
- Reason: ignore rules is not a mass noun here, since it refers to ones that belong to some single version controlled directory.
Four
Understanding both the nature of sample input string and the output produced is essential.
- We shouldn't say this. Sample input string is treated as a mass noun without an article, while output is treated as definite. Hence, the sentence lacks parallelism. There are different ways to fix this. I'm not sure how you'd like it done.
Five
As an analogy, consider learning to ~~drive~~ ride a bike or drive a car
- Reason: We ride bikes and drive cars.
Six
Should you feel that copy-paste is ideal for you, code snippets are available ~~chapter wise~~ chapter-wise on GitHub.
- Reason: See adverb combining form here
Seven
My Command Line Text Processing repository includes a chapter on GNU grep , which has been edited and expanded to create this book.
- Reason: a comma is needed before which, see here
Eight
Prior experience working with the command line and bash shell ~~,~~ . You should know concepts like file redirection, command pipeline , and so on.
Reason: command line and bash shell require an article; they're not mass nouns. This sentence was also comma-spliced.
Nine
If you are new to the world of the command line, check out my curated resources on Linux CLI and Shell scripting before starting this book.
Reason: Same as eight
Ten
I would highly appreciate it if you'd let me know how you felt about this book ~~,~~ . ~~it~~ It would help to improve this book as well as my future attempts. Also, please do let me know if you spot any ~~error~~ errors or ~~typo~~ typos.
- Reason: appreciate is a transitive verb and needs an object. There's also a comma-splice. Lastly, error and typo are countable.
Eleven
You can find his other works, primarily focused on the Linux command line, text processing, scripting languages ~~and curated lists~~, at https://github.com/learnbyexample. He has also been a technical reviewer for the Command Line Fundamentals book and video course published by Packt.
- Reason: command line is not a mass noun. Also, it doesn't really make sense to say "my work is focused on curated lists". Perhaps people work on curating lists (they work on doing something, i.e., curating), but they don't work on the finished (curated) lists themselves. Lastly, books are countable.