goexamples
learn_gnused
goexamples | learn_gnused | |
---|---|---|
1 | 10 | |
0 | 176 | |
- | - | |
5.2 | 3.8 | |
10 months ago | 9 months ago | |
Shell | ||
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
goexamples
learn_gnused
-
Learn GNU sed with hundreds of examples and exercises
You can read the book online here: https://learnbyexample.github.io/learn_gnused/
-
Show HN: CLI text processing with GNU sed (eBook)
Hello!
I am pleased to announce a new version of my "CLI text processing with GNU sed" ebook. This book heavily leans on examples to present features one by one. In addition to sed commands and options, regular expressions are also discussed in detail.
Links:
* PDF/EPUB versions: https://learnbyexample.gumroad.com/l/gnu_sed (free for a few days)
* Web version: https://learnbyexample.github.io/learn_gnused/ (always free)
* Markdown source, example files, etc: https://github.com/learnbyexample/learn_gnused
* Interactive TUI app for exercises: https://github.com/learnbyexample/TUI-apps/blob/main/SedExercises
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.
Happy learning :)
-
Ask HN: Can I see your cheatsheet?
I use my ebooks for reference:
* GNU grep and ripgrep (https://learnbyexample.github.io/learn_gnugrep_ripgrep/)
* GNU sed (https://learnbyexample.github.io/learn_gnused/)
* GNU awk (https://learnbyexample.github.io/learn_gnuawk/)
* Ruby one-liners cookbook (https://learnbyexample.github.io/learn_ruby_oneliners/)
* Perl one-liners cookbook (https://learnbyexample.github.io/learn_perl_oneliners/)
* Command line text processing with GNU Coreutils (https://learnbyexample.github.io/cli_text_processing_coreuti...)
* Command line text processing with Rust tools (https://learnbyexample.github.io/cli_text_processing_rust/) — work-in-progress
* Computing from the Command Line (https://learnbyexample.github.io/cli-computing/) — work-in-progress
- exercises.
-
Useful sed scripts and patterns for day to day usage
Many commands using `-r` do not need the option for the command used (for ex: `sed -r '/start/q'`). Also, using `-E` is preferred instead of `-r` since some of the other implementations support this option but not `-r`.
---
I wrote a book on GNU sed with plenty of examples and exercises: https://github.com/learnbyexample/learn_gnused It is free to read online and there's a detailed chapter for learning BRE/ERE regex flavor as well.
-
Linux/BSD command line wizardry: Learn to think in sed, Awk, and grep
Good introduction. But they should've at least mentioned that these tools can read a file input directly.
>For example, the sed man page weighs in at around 1,800 words alone without ever really explaining how regular expressions work or the most common uses of sed itself.
For Linux versions, `info` pages for grep/sed/awk are much more detailed and includes examples too. I use `man` pages only for quick reference. Also, I think I've read that BSD man pages are more detailed and include examples compared to Linux versions.
If you'd like to learn more, I have books on these commands with hundreds of examples and exercises (free to read online):
* https://learnbyexample.github.io/learn_gnugrep_ripgrep/
* https://learnbyexample.github.io/learn_gnused/
* https://learnbyexample.github.io/learn_gnuawk/
-
Linux/BSD command line wizardry: Learn to think in sed, awk, and grep
GNU sed
-
Show HN: GNU sed eBook with hundreds of one-liners and exercises
Hello!
This post links to the free to read online version.
PDF/EPUB versions are available from Leanpub/Gumroad [0]. You can either get it as separate book or part of bundles (which includes grep, awk, etc).
Code snippets, markdown source and other files related to the book is available on GitHub [1].
Hope you find it useful. Happy learning :)
[0] https://learnbyexample.github.io/learn_gnused/buy.html
[1] https://github.com/learnbyexample/learn_gnused
What are some alternatives?
learn_gnuawk - Example based guide to mastering GNU awk
Command-line-text-processing - :zap: From finding text to search and replace, from sorting to beautifying text and more :art:
quick-reference - A collection of cheatsheets
debdroid - Install Debian on your Android Device (No longer maintained)
dotfiles - Managed using https://yadm.io/
clmystery - A command-line murder mystery
learn_perl_oneliners - Example based guide for text processing with Perl from the command line
TUI-apps - Terminal User Interface (TUI) apps
cheat - cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember.
useful-sed - Useful sed scripts & patterns.
learn_gnugrep_ripgrep - Example based guide to mastering GNU grep and ripgrep
sokoban.sed - Sokoban game implemented in sed