learn_gnused
mcfly
learn_gnused | mcfly | |
---|---|---|
10 | 49 | |
176 | 6,722 | |
- | - | |
3.8 | 7.3 | |
10 months ago | 3 days ago | |
Shell | Rust | |
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.
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
mcfly
-
Fly through your shell history
It is a custom pretrained NN with very few nodes, the full source code is here: https://github.com/cantino/mcfly/blob/master/src/network.rs
-
Cdpath: Easily Navigate Directories in the Terminal
I've had a great time using McFly (https://github.com/cantino/mcfly) for going through my command history. It prioritizes showing commands that were previously run in your current directory!
-
fish-shell: the user-friendly command-line shell
I end up installing mcfly (https://github.com/cantino/mcfly) in all my shells, and it works great in fish as well.
-
Linux terminal user
You should try https://github.com/cantino/mcfly, it replaces the Ctrl r bind for fuzzy-search-style patter matching, that you can see all the similar commands and then select the one you want, it has been on all my machines ever since I've learnd of it
-
Atuin replaces your existing shell history with a SQLite database
There's also McFly which does the same thing.
https://github.com/cantino/mcfly
I've only used McFly and found it to be pretty great. My only complaint is the default search mode is SQL strings, so you have to use `%` for wildcards. I wish it was a more forgiving, less exact search.
Has anyone used both and could compare them?
-
Fulfilling a reader's request for my “dot files”
If you like searching your Bash history with fzf, you're gonna love McFly: https://github.com/cantino/mcfly
- Mcfly: Fly through your shell history. Great Scott
- Linux Kernel 6.2 issue · Issue #333 · cantino/mcfly
- Happens too often
- Advice to be more efficient with the terminal?
What are some alternatives?
Command-line-text-processing - :zap: From finding text to search and replace, from sorting to beautifying text and more :art:
fzf - :cherry_blossom: A command-line fuzzy finder
debdroid - Install Debian on your Android Device (No longer maintained)
atuin - ✨ Magical shell history
goexamples - Complete golang example; sample Go code
zsh-histdb - A slightly better history for zsh
clmystery - A command-line murder mystery
antigen - The plugin manager for zsh.
TUI-apps - Terminal User Interface (TUI) apps
modern-unix - A collection of modern/faster/saner alternatives to common unix commands.
useful-sed - Useful sed scripts & patterns.
zoxide - A smarter cd command. Supports all major shells.