Command-line-text-processing
learn_gnused
Command-line-text-processing | learn_gnused | |
---|---|---|
4 | 10 | |
10,032 | 176 | |
- | - | |
0.0 | 3.8 | |
over 1 year ago | 9 months ago | |
Shell | Shell | |
- | 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.
Command-line-text-processing
-
Shell Script Best Practices, from a decade of scripting things
Submitted yesterday:
Learn to use Awk with hundreds of examples
https://github.com/learnbyexample/Command-line-text-processi...
https://news.ycombinator.com/item?id=33349930
- Learn to use Awk with hundreds of examples
-
Easily handle CLI operation via Python instead of regular Bash programs
Yep, ruby is a natural, pipeline friendly, command line companion out of the box.
https://github.com/learnbyexample/Command-line-text-processi...
https://learnbyexample.github.io/learn_ruby_oneliners/
-
My simple GitHub project went Viral
I had a similar experience with one of my GitHub repos [0] that is currently 9k+ stars. I added donation link when it was about 5k stars (after it went viral courtesy HN). But this was before GitHub sponsors. I removed donation links after I got only a single donation in about a year.
I had much better results when I started converting my tutorials into ebooks and sold them. Obviously having a paid product is different, but I'm referring to the paid sales I got whenever I put up 'pay what you want' offer.
[0] https://github.com/learnbyexample/Command-line-text-processi...
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?
iglunix - Linux (and other kernels) distro with no GNU components
debdroid - Install Debian on your Android Device (No longer maintained)
libwacom-surface - Patches to support Microsoft Surface Devices with `libwacom`.
goexamples - Complete golang example; sample Go code
teip - Masking tape to help commands "do one thing well"
clmystery - A command-line murder mystery
parted-auto-resize - Automatically or non-interactive resize a partition to its maximum, e.g. for LVM pv resizing when using a partition as PV
TUI-apps - Terminal User Interface (TUI) apps
AltServer-Linux-ShellScript - Make easier to use AltServer-Linux
useful-sed - Useful sed scripts & patterns.
pz - Easily handle day to day CLI operation via Python instead of regular Bash programs. πΊπ¦ #supporting
sokoban.sed - Sokoban game implemented in sed