sd - search & displace

Gregory · chmln.sd

sd is an intuitive find & replace CLI.

winget install --id chmln.sd --exact --source winget

Latest 1.1.0

Release Notes

Breaking

  • #328 Make line-by-line processing the default and add --across / -A (@orion Gonzalez)
    • sd now processes input line-by-line by default, reducing memory usage and enabling streaming output for stdin
    • The previous whole-file behavior is still available via --across / -A Improvements
  • #313 Replace the unescape implementation with a more lenient one (@orion Gonzalez)
    • Avoids the previous all-or-nothing behavior when escape parsing partially fails
  • #326 Retain file ownership on atomic writes (@gregory)
    • Preserves original file uid/gid when replacing files through the atomic write path Docs
  • #279 Update man page examples for the renamed string literal flag (@philipp Gillé)
  • #281 Update README for string literal argument changes (@evan Platzer)
  • #292 Fix capture group example in the man page (@john Careaga)
  • #299 Add README_zh-CN.md and follow-up note adjustments (@zhangyanming)
  • #320 Fix missing single quotes in a man page example (@Freimut Diener)

Pre-built Releases

  • (90bc67d) Add Windows ARM64 (aarch64-pc-windows-msvc) release targets (@orion Gonzalez)
  • (c864c58) Add aarch64-unknown-linux-gnu target to CI and releases (@orion Gonzalez)
  • #293 Bump svenstaro/upload-release-action from 2.7.0 to 2.9.0 (@dependabot[bot])

Internal

  • #265 Overall codebase reorganization (@blair Noctis)
    • Refactors application structure, error handling, and tests
  • xtask cleanup and test setup refactors (@gregory, @orion Gonzalez)
  • Dependency and tooling updates
    • Bump libc from 0.2.149 to 0.2.155 (@jingyun Hua)
    • Upgrade assert_cmd and fix clippy warnings (@gregory)

Installer type: zip

Architecture Scope Download SHA256
x64 Download 59837C2E7C911099ACA1CC46B663BCDC5A949FD3E9FBBAF34FC73E5D5D71007C

Details

Homepage
https://github.com/chmln/sd
License
MIT
Publisher
Gregory
Support
https://github.com/chmln/sd/issues
Copyright
Copyright (c) 2018 Gregory
Moniker
sd

Tags

clicommand-lineregexrustsdterminaltext-processing

Older versions (2)

1.0.0
Architecture Scope Download SHA256
x64 Download B7CC9937EBC1F736C87D5929B9EA2280053AF10F8E320D9C20CA90C3AF46A5D5
0.7.5
Architecture Scope Download SHA256
x64 Download B27672506F38C6A4BF6E26EC5DDCCE8497C42EAEEDBFFD43A1DE29E70E30F9EA