ack3
the_silver_searcher
Our great sponsors
ack3 | the_silver_searcher | |
---|---|---|
21 | 59 | |
669 | 25,704 | |
1.8% | - | |
4.3 | 0.0 | |
about 1 month ago | 4 months ago | |
Perl | C | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
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:
-
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.
the_silver_searcher
-
Essential Command Line Tools for Developers
View on GitHub
-
Debugging Silent Create Action Failures in Rails
If you have trouble finding it among the other stuff happening in the server log, well, so do I! I recommend learning how to programmatically search through your terminal output. Providing a universal method for this is challenging because various tools and terminal emulators implement this functionality differently. Another option would be to use tools like grep or the_silver_searcher (a favorite of mine) to search the file where your dev logs are written to. This file is located at log/development.log in a Rails project.
- Ggreer/the_silver_searcher: A code-searching tool similar to ack, but faster
-
✨7 Github Repositories to Master React
Some of the examples below use ag, but could just as well use grep or equivalent.
-
Rust crate rg typosquatting/redirect to ripgrep
Why guess when [there are installation instructions for various platforms on the README](https://github.com/ggreer/the_silver_searcher#installing)?
Also, although it may not be easy to remember, is this really a problem in practice given the installation count in most contexts is one? If there's a context where it's installed regularly, that's a one-time addition to an install script, Dockerfile, etc. in my experience. Do you have a situation that isn't amenable to that?
-
Linux drivers development
The kernel changes a lot, so the books would get outdated quickly. But you can find simple / similar drivers, and read the code. Usually there are some documentation / comments on the headers before the function declarations. The Elixir and the Silver Searcher will help a lot.
-
🚀 Boost Your Coding Productivity with These 9 Powerful FREE Tools! 💪
URL 🔗 : https://github.com/ggreer/the_silver_searcher
-
how to list places where a function is being used?
My "vim" way of finding all the places where a function is being used: using visual mode, marking the function, and passing it to :Ag (silversearcher) The problem with this is that it is not 100% accurate, since it will just look for things with the same name, so I was thinking about using the LSP to make things more robust.
-
Any Linux admins willing to try Pygrep?
We're fans of ag, The Silver Searcher.
-
How do I tell helm-ag to ignore files with a particular file extension?
Helm-ag is an interface to the ag, silver-searcher, so check the docs for ag. For example, ag automatically ignore some files if there is a .gitignore with some file patterns, or you could use .agignore.
What are some alternatives?
fzf.vim - fzf :heart: vim
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
fd - A simple, fast and user-friendly alternative to 'find'
net-amqp-rabbitmq - Perl bindings to the librabbitmq-c AMQP library.
Visual Studio Code - Visual Studio Code
website - The source code for the beyondgrep.com website
intellij-plugins - Open-source plugins included in the distribution of IntelliJ IDEA Ultimate and other IDEs based on the IntelliJ Platform
ttygif - Convert terminal recordings to animated gifs
fzf - :cherry_blossom: A command-line fuzzy finder
autobots - ⚡️ Scripts & dotfiles for automation and/or bootstrapping new system setup
opengrok - OpenGrok is a fast and usable source code search and cross reference engine, written in Java