sd
useful-sed
Our great sponsors
sd | useful-sed | |
---|---|---|
31 | 9 | |
5,334 | 3,537 | |
- | - | |
8.0 | 0.0 | |
about 2 months ago | over 2 years ago | |
Rust | ||
MIT License | - |
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:
useful-sed
-
I give up
Here you go :) (I wrote that guide) https://github.com/adrianscheff/useful-sed
-
Simple-Awk. A simple and practical guide to Awk
Hello! I'm the author. This is similar in vein to useful-sed, a surprisingly successful github repo (which can be found here https://github.com/adrianscheff/useful-sed).
If you have any questions, suggestions or simply feedback - let me know.
Thank you!
- Useful sed scripts & patterns.
- Useful sed scripts and patterns for day to day usage
What are some alternatives?
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
neomutt - ✉️ Teaching an Old Dog New Tricks -- IRC: #neomutt on irc.libera.chat
hck - A sharp cut(1) clone.
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
simple-awk - Simple and practical guide to awk.
nlpo3 - Thai Natural Language Processing library in Rust, with Python and Node bindings.
nnn - n³ The unorthodox terminal file manager
modern-unix - A collection of modern/faster/saner alternatives to common unix commands.
coreutils - Cross-platform Rust rewrite of the GNU coreutils
dust - A more intuitive version of du in rust