Hacker GitHub

← All repos

chmln/sd

View on GitHub ↗ ★ 7,406 Rust

Intuitive find & replace CLI (sed alternative)

31 mentions on Hacker News by 25 people: 7 stories, 24 comments · first 2018-12-26 · latest 2026-03-24

Mentions per year 31 mentions · busiest year 2022 (7)
20082026
  1. sd exists, dunno but awk. https://github.com/chmln/sd
  2. There is sd, not a drop in replacement though. https://github.com/chmln/sd
  3. …for example). I've switched to sd[1] because it basically just works as I expect every time. [1]: https://github.com/chmln/sd
  4. …the install which makes simple sed-type operations more obvious / easier (for some value of easy). https://github.com/chmln/sd
  5. …Perl regexes are maximalist but AWK regexes aren't? Or is it the complicated syntax (REGEX of [sd]( https://github.com/chmln/sd ) is fine?)? Or is it because "it's a forest"? So I suppose if it only had half of the current regexes, then it…
    comment by verdona · 2024-07-16
  6. Feels similar to `sd` ( https://github.com/chmln/sd ) which in my mind was the first “replace” version of ripgrep grep -> ripgrep sed -> sd
    comment by malthejorgensen · 2024-05-23 · in Amber: A code search and replace tool
  7. …flow too much. I'm glad people are posting other options here, I'm looking forward to trying them. https://github.com/chmln/sd/issues/62
    comment by ForkMeOnTinder · 2023-11-26 · in Ripgrep 14 Released
  8. …+ 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
    comment by mirashii · 2023-11-26 · in Ripgrep 14 Released
  9. …instead of sed. [1]: https://github.com/ogham/exa [2]: https://github.com/BurntSushi/ripgrep [3]: https://github.com/chmln/sd
  10. …with Perl, it is 2023. If you're jonesing for a sed replacement (it even has capture groups) try: https://github.com/chmln/sd Worth being aware of: https://github.com/theryangeary/choose https://github.com/nushell/nushell
    comment by recuter · 2023-01-19 · in The State of the Awk (2020)
  11. …that one pretty often, so maybe my first managed script will be one which symlinks binaries :) [0] https://github.com/chmln/sd
    comment by pedrovhb · 2022-12-31 · in SD: My script directory
  12. …in 2009-2010 , installing it and switching over entirely within about five minutes. Modern sed: https://github.com/chmln/sd Modern grep: https://github.com/ggreer/the_silver_searcher https://github.com/BurntSushi/ripgrep
  13. Nice tool but the name is a bit unfortunate: https://github.com/chmln/sd (a modern sed alternative)
    comment by eterps · 2022-09-16 · in sd – a cozy nest for your scripts
  14. https://github.com/chmln/sd Corrected url
  15. It's fd, ncdu and sd (sed alternative) for me. https://github.com/chmln/sd https://dev.yorhel.nl/ncdu
  16. …power steering, and maybe throwing in a new stereo and a paint job. sed vs. sd, for example https://github.com/chmln/sd The semi-lovable but reliable old jalopy overhauled to match modern practices.
  17. …of the coreutils, though, so this would be outside of the scope of at least this project. There is https://github.com/chmln/sd written in Rust, but it's far from a sed replacement – it's reducing it to search and replace for fixed strings,…
    comment by bewuethr · 2021-03-09 · in Debian Running on Rust Coreutils
  18. sd(1) looks super cute. https://github.com/chmln/sd Very UNIX-y imo.
    comment by kohtatsu · 2020-05-17 · in Common *nix commands written in Rust
  19. …GUI with blinks and flashes everywhere. some CLI tools have a good UI, some don't. See for example https://github.com/chmln/sd )
  20. Shameless plug - I also wrote https://github.com/chmln/sd to replace my use of sed.
    comment by chmln · 2019-05-21 · in Lsd: The next gen ls command
  21. …subset of sed features) [1] https://github.com/learnbyexample/Command-line-text-processi... [2] https://github.com/chmln/sd
    comment by asicsp · 2019-04-16 · in Ripgrep 11 Released
  22. Not to derail this submission, but thanks for the consideration! See the first sentence at https://github.com/chmln/sd#comparison-to-sed tl;dr its only find & replace with smart defaults and easy, straightforward syntax because I hated…
  23. Shameless plug for even terser syntax: https://github.com/chmln/sd
  24. Shameless plug - you may also wanna try https://github.com/chmln/sd :)