HN user

petdance

643 karma

Programmer, author.

Posts6
Comments123
View on HN

The reference to "Programming Perl" was no doubt helped along by Perl developer Jesse Sheidlower who worked at the OED in the early 2000s. From his Wikipedia page: "Although not a computer programmer by training, Sheidlower introduced Perl to the North American offices of Oxford University Press and developed tools for data manipulation when no programmers were available. He is also one of the core developers of Catalyst, a popular Perl web development framework."

That still might run afoul of locked down networks like I've seen at banks. Users couldn't install any binaries at all, but with something like ack it's just cut & paste some text into a text file. ack can literally be a select-all, Ctrl-C, switch windows, "cat > ack", Ctrl-V.

"grep | head" doesn't limit the length of output lines, but "grep | cut" would.

However, ack and ripgrep's default unpiped output is grouped by file, and if you pipe the output, it doesn't do the grouped output.

The idea of "supposed to be used" is also different for ack than it is for grep. ack is specifically less of a general-use tool than grep. It's meant for searching source code. This is also why I have never said that ack is a replacement for grep.

That's how I had it at first.

I originally had it as a "phrasebook" of how to do the same thing in the different tools, but it was really ugly and took up a lot of horizontal space, and I figured it was more useful as a chart of yes/no. Also, there were cases where two tools had pretty much the same feature, but not exactly, so just listing flags didn't make sense.

I've still got a lot of the data of the switches in the JSON file that I build the chart from. https://github.com/beyondgrep/website/blob/dev/features.json If you've got ideas on how to bring back the phrasebook format, either integrated into this page, or as a separate standalone page, I'd love to hear them. Maybe the phrasebook isn't best done as a table like this, for example. Open a ticket in GitHub and let me know your thoughts.

I do not know of a competitor who has put the care into such a tool to even try to measure, though.

As an aside, I'm the author of ack, and I would ask that folks not use the word "competitor" to describe different projects in the same space. Speaking for me/ack and burntsushi/ripgrep, there is absolutely no competition between us. We have different projects that do similar things, and neither of us is trying to best the other. We are each trying to make the best project we can for the needs we are looking to fill. ripgrep won't replace ack, ack won't replace ripgrep, and neither one will replace plain ol' grep. Each has its place.

I believe this so strongly that I created a [feature comparison chart](https://beyondgrep.com/feature-comparison/) comparing various greplike tools, and a related blog post I wrote on this: [The best open source project for someone might not be yours, and that's OK](https://blog.petdance.com/2018/01/02/the-best-open-source-pr...)

Teaching a love of books and learning to children isn't about disseminating information.

There are also many poor folks who don't have the money for the technology you do. The library provides information services to everyone, regardless of social class or ability to pay. What if you were poor and looking for a job and had no computer or phone? To many, the library is a lifeline.

http://www.ala.org/news/news/pressreleases2010/april2010/poo...

The library is a safe place to go after school. In my town, the library hosts an after-school snack program sponsored by the local food bank. http://mchenrycountyliving.com/event/school-snack-program/

I know that for most of us on Hacker News, we swim in technology and information, but for many others in society, the library is their entry to that world.