run-one
ack3
run-one | ack3 | |
---|---|---|
1 | 21 | |
11 | 674 | |
- | 1.2% | |
2.3 | 4.4 | |
10 months ago | 11 days ago | |
Shell | Perl | |
MIT License | GNU General Public License v3.0 or later |
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.
run-one
-
Ask HN: Can I see your scripts?
borg-backup.sh, which runs my remote borg backups off a cronjob: https://github.com/Freaky/borg-backup.sh
zfsnapr, a ZFS recursive snapshot mounter - I run borg-backup.sh using this to make consistent backups: https://github.com/Freaky/zfsnapr
mkjail, an automatic minimal FreeBSD chroot environment builder: https://github.com/Freaky/mkjail
run-one, a clone of the Ubuntu scripts of the same name, which provides a slightly friendlier alternative to running commands with flock/lockf: https://github.com/Freaky/run-one
ack3
-
Any Linux admins willing to try Pygrep?
fyi ack is like this but for perl instead of python https://beyondgrep.com/
-
Vim: ZZ and zz: Do you know the difference?
If you just need a single shell command you can do :!. Example:
:!ack "stupid_structure->who_wrote_this_crap.oooohhhhh\s+="
(and if you wonder what "ack" means: https://beyondgrep.com/)
-
Share your little shell functions and one-liners that make your life easier
Ack is consistent with grep but will sensibly handle the recursive stuff for you.
-
Found malware in the source code for my company’s website
Scan the file tree containing the website for the links, or part of tje links, for example with ack which is an easy to use, recursive reimplementation of grep.
-
What is something you want to make, but python is too slow for it?
I've thought about redoing ack in Python but it wasn't any faster than the current Perl.
-
I made grep -- but better
Ever hear of ack it might be a faster alternative.
-
Ask HN: Can I see your scripts?
No, but thanks for pointing out its existence. Homepage:
https://beyondgrep.com/
-
Can't run freeze_graph python script, No module named 'tensorflow.python'
(ack comes from ack-grep, a better version of grep, but you can just replace it with grep -r)
-
Using Ack To Search Elixir Code
I've been a fan of ack for quite some time. Somehow (and I'm not quite sure how) once or twice it's found stuff in source code that VSCode simply misses (likely I was searching wrong with VSCode). And there are a few things I've found that make it even more effective in searching Elixir code that I thought I'd share.
-
ripgrep: grep but better
Very much agreed. I'm a developer and I honestly prefer ack (https://beyondgrep.com/) myself. But it has the exact same issue. It's not standard.
What are some alternatives?
ShellCheck - ShellCheck, a static analysis tool for shell scripts
fzf.vim - fzf :heart: vim
dotfiles - Configs for apps I care about
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
tilde
the_silver_searcher - A code-searching tool similar to ack, but faster.
bitbar - Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)
net-amqp-rabbitmq - Perl bindings to the librabbitmq-c AMQP library.
entr - Run arbitrary commands when files change
website - The source code for the beyondgrep.com website
ttygif - Convert terminal recordings to animated gifs
autobots - ⚡️ Scripts & dotfiles for automation and/or bootstrapping new system setup