sd
hck
Our great sponsors
sd | hck | |
---|---|---|
31 | 15 | |
5,258 | 677 | |
- | - | |
8.0 | 4.5 | |
about 1 month ago | 2 months ago | |
Rust | Rust | |
MIT License | The Unlicense |
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.
sd
-
Essential Command Line Tools for Developers
View on GitHub
-
Ripgrep 14 Released
I'll throw in sd as a nice sed/find-and-replace tool. Using fd + xargs + sd is a pretty good workflow if a shell glob isn't good enough to target the files you want. https://github.com/chmln/sd
I wanted to like sd but it doesn't support my main use case of recursive search/replace. Imagine every time you wanted to grep some files you had to build a find+xargs+rg pipeline... it just takes me out of the flow too much. I'm glad people are posting other options here, I'm looking forward to trying them.
-
🐚🦀Comandos shell reescritos em Rust
sd
-
sed cheatsheet
https://github.com/chmln/sd ftw (sed rebuilt in rust, much easier imho) ;-)
-
What modern utilities should be a standard part of a modern unixy distro?
sd is a more intuitive alternative to sed, focussing on making find and replace easier - which is all I ever used sed for.
-
Delete all occurrences of a string
If it's in multiple files? To be honest, I'd just use a terminal and sed (or sd if you want something with a more friendly interface).
-
sd: your script directory
I love the idea and I'll try it out, but a heads up in case the author is around: the name sd clashes with another tool [0], which works as an alternative to sed.
I use that one pretty often, so maybe my first managed script will be one which symlinks binaries :)
-
Rust Easy! Modern Cross-platform Command Line Tools to Supercharge Your Terminal
sd is a find-and-replace CLI, and you can use it as a replacement for sed and awk. It is way more user-friendly and modern. It is also magnitudes faster than sed.
-
Being Ridiculed for My Open Source Project (2013)
Even if sed and grep are available their weird syntax is enough to make people write modern replacements.
I don't care if they're not 100% feature complete, the fact I can remember how to use them for my simple everday tasks (searching, finding/replacing across many files) without needing to consult a manpage or search online for answers is enough.
Modern sed:
Modern grep:
hck
- An old but good field command for printing tab separated fields from a file to stdou.t
-
What is yay situation?
hck ["hck" in community repo] - a fancier cut with regex field delimiters
-
What are your favorite Rust-powered Linux programs?
Biased because it's my tool, but I do use it every day! hck - which is like cut, but much faster and with a tidier set of features.
-
Tuc – When cut doesn’t cut it
hck - close to drop in replacement for cut that can use a regex delimiter instead of a fixed string
-
Tuc – when cut doesn’t cut it
It's also very similar to my tool hck (https://github.com/sstadick/hck) which is in turn similar to choose, just faster and supports compression.
Nice, especially the format output.
See also:
* hck (https://github.com/sstadick/hck) - close to drop in replacement for cut that can use a regex delimiter instead of a fixed string
* rcut (https://github.com/learnbyexample/regexp-cut) - my own bash+awk script, supports regexp delimiters, field reordering, negative indexing, etc
- csvlens: Command line CSV file viewer
-
Ask HN: Let's Build CheckStyle for Bash?
You might want to check out 'hck' to replace 'cut'.
-
hck: a faster and more featureful cut replacement
hck is a close to drop in replacement for cut that can use a regex delimiter instead of a fixed string. Additionally this tool allows for specification of the order of the output columns using the same column selection syntax as cut (see below for examples).
What are some alternatives?
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
useful-sed - Useful sed scripts & patterns.
neomutt - ✉️ Teaching an Old Dog New Tricks -- IRC: #neomutt on irc.libera.chat
pomsky - A new, portable, regular expression language
joshuto - ranger-like terminal file manager written in Rust
pistol - General purpose file previewer designed for Ranger, Lf to make scope.sh redundant
nlpo3 - Thai Natural Language Processing library in Rust, with Python and Node bindings.
murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
UNIC - UNIC: Unicode and Internationalization Crates for Rust
csvlens - Command line csv viewer