Command-line-text-processing
bash-modules
Command-line-text-processing | bash-modules | |
---|---|---|
4 | 7 | |
10,032 | 122 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 2 years ago | |
Shell | Shell | |
- | GNU Lesser General Public License v3.0 only |
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...
bash-modules
-
Write Posix Shell
Bash is turing-complete, so it's possible to write automated test cases in bash. Example: https://github.com/vlisivka/bash-modules/blob/master/bash-mo...
-
Shell Script Best Practices, from a decade of scripting things
Template in article is awful. It's better to use this one, which is a real CLI tool: https://github.com/vlisivka/bash-modules/blob/master/bash-mo...
-
Show HN: A plain-text file format for todos and check lists
IMHO, you are mixing TODO lists and task management/planning software. No, I don't know a good task manager or business process manager for command line. Instead, I created a simpler TODO list manager, called `td`[0], which supports flat TODO lists only, and use directories and command-line generators to manage todo's. `td` prints top item only, by default, leaving little room for procrastination. I'm keeping one `TODO.md` file per project instead of one large TODO file for all todo's.
[0]: https://github.com/vlisivka/bash-modules/blob/master/bash-mo...
-
bash-modules 4.0.1
Documentation: http://vlisivka.github.io/bash-modules/ Project home page: https://github.com/vlisivka/bash-modules
- Bash-Modules 4.0
-
Bash function names can be almost anything
I'm preparing to release bash-modules 4.0 [0]. Can you give me feedback, please? I'm a non-native English speaker, so I need someone to help fix spelling mistakes, at least.
https://github.com/vlisivka/bash-modules
-
Clojure REPL vs. CLI: IDE Wars
It works in my shell. :-/ It looks like you forgot to insert `false` command.
You are pointing to the problem with -e not working in subshell/deep functions, because of POSIX. Right? It's described in bash documentation: http://www.gnu.org/software/bash/manual/html_node/The-Set-Bu...
> I think just defining a die() function and using it after any command that must succeed is more verbose, but less error prone:
Yep. It's the style I developed 12 years ago, when working at Bazaarvoice, when I was lead of devops team. I created the whole library for bash, to use this pattern consistently. See https://github.com/vlisivka/bash-modules#error-handling
What are some alternatives?
iglunix - Linux (and other kernels) distro with no GNU components
dotfiles - Bootstrap neovim/zsh/tmux environment for Ruby on Rails development
libwacom-surface - Patches to support Microsoft Surface Devices with `libwacom`.
mg.sh - Mitigram's shell library of reusable script snippets
learn_gnused - Example based guide to mastering GNU sed
xit - A plain-text file format for todos and check lists
teip - Masking tape to help commands "do one thing well"
murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
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
ShellCheck - ShellCheck, a static analysis tool for shell scripts
AltServer-Linux-ShellScript - Make easier to use AltServer-Linux
music-explorer - A music scraper, navigator, archiver, and cataloger for people looking for new sounds.