learn_gnused
bitbar
learn_gnused | bitbar | |
---|---|---|
10 | 50 | |
176 | 17,359 | |
- | - | |
3.8 | 2.9 | |
9 months ago | about 1 month ago | |
Shell | Go | |
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
bitbar
-
Home Lab Guide
While no broken out per plug, APC UPS network management cards provide total power output data (current, voltage, frequency, power) via SNMP, which you can log using a wide variety of tools.
And even without external tools, historical power usage logs are available via the APC Web UI.
While I don't currently log anything externally, I use an xbar[1] script[2] to display UPS output current in my Mac menu bar.
[1] https://xbarapp.com
[2] https://jasomill.at/apc-nmc-status.5s.sh
- Ask HN: What apps have you created for your own use?
-
Show current playing sample rate of DAC in MacOS top menu
5. Download and install xbar https://github.com/matryer/xbar
-
How can I have signal on the menu bar of macos
Maybe with https://xbarapp.com/ ?
-
Menu bar - different menu lists for different Macs
Maybe with xhttps://xbarapp.com/bar? You can also take a look here.
- Mac app to display JSON data in menu bar?
-
App that shows bin status in menu bar
Maybe you can use AnyBar https://github.com/tonsky/AnyBar/ or xbar https://xbarapp.com/
-
App LIST!!!
xbar (Free) xbar is free and open source it allows you to put anything in your macOS menu bar, although the learning cure is high, I would put this in development too..
- What are the not-so-obvious tools that you don't want to miss?
- My first idea that I want to write in Go
What are some alternatives?
Command-line-text-processing - :zap: From finding text to search and replace, from sorting to beautifying text and more :art:
SwiftBar - Powerful macOS menu bar customization tool
debdroid - Install Debian on your Android Device (No longer maintained)
Dozer - Hide menu bar icons on macOS
goexamples - Complete golang example; sample Go code
skhd - Simple hotkey daemon for macOS
clmystery - A command-line murder mystery
argos - Create GNOME Shell extensions in seconds
TUI-apps - Terminal User Interface (TUI) apps
SketchyBar - A highly customizable macOS status bar replacement
useful-sed - Useful sed scripts & patterns.
macOCR - Get any text on your screen into your clipboard.