Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
-
scc
Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
regex
An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
A while ago I came across this post: https://towardsdatascience.com/awesome-rust-powered-command-...
I’ve also been using bat and exa which are pretty good replacements for cat and ls, respectively.
https://github.com/sharkdp/bat
https://github.com/ogham/exa
If you ever give ripgrep a go, stumble over something and are inclined to: please post a Discussion question[1]. "beginner" or "stupid" questions are welcome. If you can show me what you know works with grep, for example, and are curious about an equivalent rg command, that could be a good question. I might be able to give you some "fundamental" answers to it that let you reason about the tools more from first principles, but on your terms.
[1] - https://github.com/BurntSushi/ripgrep/discussions
A while ago I came across this post: https://towardsdatascience.com/awesome-rust-powered-command-...
I’ve also been using bat and exa which are pretty good replacements for cat and ls, respectively.
https://github.com/sharkdp/bat
https://github.com/ogham/exa
https://github.com/chmin/sd: "sd uses regex syntax that you already know from JavaScript and Python. Forget about dealing with quirks of sed or awk - get productive immediately."
It would be interesting to test the ~1.5GB of JSON the author uses for the benchmark against sed, but there are no details on how many files nor what those files contain.
When trying something relatively small and simple, sd appears to be slower than sed. It also appears to require more memory. Maybe others will have different results.
sh # using dash not bash
The zsh builtin with a custom TIMEFMT: https://github.com/BurntSushi/dotfiles/blob/965383e6eeb0bad4...
Correct. ripgrep only has Level 1 UTS#18 support: https://unicode.org/reports/tr18/#Simple_Loose_Matches
This document outlines Unicode support more precisely for ripgrep's underlying regex engine: https://github.com/rust-lang/regex/blob/master/UNICODE.md
See this for a collection of alternatives for a modern unix commands. https://github.com/ibraheemdev/modern-unix