chmln/sd

Intuitive find & replace CLI (sed alternative)

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 42 minutes ago
Added to GitGenius on September 9th, 2026
Created on December 23rd, 2018
Open Issues & Pull Requests: 78 (+0)
GitHub issues: Enabled
Number of forks: 170
Total Stargazers: 7,347 (+1)
Total Subscribers: 33 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.3 days
Mean response time: 142.5 days
90th percentile: 479.5 days
Tracked items: 63

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 3% of issues opened in the past year have been closed. Three people close 79% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 55
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,348 days
Stale 30+ days: 53
Stale 90+ days: 49

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • C-enhancement (31)
  • A-regex (13)
  • C-bug (11)
  • A-io (8)
  • A-CLI (7)
  • A-preview (6)
  • C-docs (6)
  • C-question (6)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

sd is an intuitive find and replace CLI tool that serves as an alternative to sed.

The tool addresses the pain points of traditional find and replace utilities by offering a more approachable interface. It uses regular expression syntax familiar from JavaScript and Python rather than sed's idiosyncratic patterns, eliminating the need to remember special character escaping rules. Beyond regex mode, sd includes a string-literal mode for simple find and replace operations without any regex interpretation. The syntax separates find and replace expressions clearly, making commands easier to read and write compared to the slash-delimited format of sed. The tool applies sensible defaults suited to everyday use cases.

Developers should choose sd if they frequently perform find and replace operations and want to avoid sed's learning curve. It works well for both simple string replacements and complex regex-based transformations across files. The README explicitly compares sd to sed, noting that while sed offers broader functionality, sd focuses on doing one task exceptionally well. For straightforward replacements, sd requires simpler syntax; for complex patterns like replacing newlines or handling paths with slashes, sd provides more readable alternatives. In-place file modification is also more straightforward with sd than with sed's platform-dependent flag requirements.

The project shows active maintenance with regular updates addressing user feedback and bug fixes. Development demonstrates responsiveness to issues and pull requests from the community. The tool has received performance optimizations that make it substantially faster than sed for typical workloads. Documentation is comprehensive, including detailed comparisons with sed and clear usage examples for common scenarios.