awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
chmln avatar

chmln/sd

0
View on GitHub↗
7,220 stars·160 forks·Rust·MIT·16 views

Sd

sd is a command line text manipulation utility designed for searching and replacing text patterns across multiple files. It functions as a regex-based find and replace tool that allows for in-place file editing directly from the terminal.

The project supports both regular expression replacements, including the use of capture groups for complex transformations, and fixed string replacement for literal text substitutions. It specifically handles multi-line text replacement by processing file contents as single blocks to match patterns that span across newline characters.

The tool provides capabilities for bulk file content updates and a buffered change preview to review modifications before they are committed to the filesystem.

Features

  • Regex Pattern Matching - Uses regular expressions and capture groups to identify and replace text sequences across files.
  • File Content Manipulators - Edits file contents in-place through string replacement and pattern matching.
  • Multi-Line Pattern Matching - Treats input as a single block to match patterns and newlines spanning multiple lines.
  • Terminal-Based Text Editing - Allows modifying text within files directly from the terminal using search and replace patterns.
  • Text Search and Replace - Searches for strings or regular expressions within files and replaces them with new text.
  • Multi-Line Replacements - Searches for and replaces blocks of text that span across multiple lines within a file.
  • Bulk File Content Updates - Enables updating specific strings or patterns across multiple files simultaneously.
  • Command Line Interfaces - Implements a terminal-driven interface for executing search and replace operations.
  • In-Place File Mutators - Modifies source files directly on disk after processing text replacements.
  • Cross-Line Buffer Processing - Handles multi-line text replacement by loading file contents into a single block to match across newlines.
  • Multi-Line Text Manipulation Tools - Provides a utility for finding and replacing text patterns that span across multiple lines.
  • Regular Expression Search and Replace - A command line tool for searching and replacing text patterns using regular expressions across multiple files.
  • Fixed String Substitutions - Performs literal find-and-replace by treating all characters as plain text.
  • Literal String Replacers - Performs literal text substitutions without the need for regular expression parsing.
  • Literal Match Modes - Supports fixed string replacement by treating all input characters as literal text.
  • Refactoring Search Tools - Facilitates complex text transformations and project-wide refactoring using regular expressions and capture groups.
  • Text Edit Previews - Provides a buffered preview of text changes to review modifications before committing them to files.
  • Text Processing and Search - Intuitive and fast alternative for find and replace operations.
  • sed - Listed in the “sed” section of the Awesome Alternatives In Rust awesome list.

Star history

Star history chart for chmln/sdStar history chart for chmln/sd

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does chmln/sd do?

sd is a command line text manipulation utility designed for searching and replacing text patterns across multiple files. It functions as a regex-based find and replace tool that allows for in-place file editing directly from the terminal.

What are the main features of chmln/sd?

The main features of chmln/sd are: Regex Pattern Matching, File Content Manipulators, Multi-Line Pattern Matching, Terminal-Based Text Editing, Text Search and Replace, Multi-Line Replacements, Bulk File Content Updates, Command Line Interfaces.

What are some open-source alternatives to chmln/sd?

Open-source alternatives to chmln/sd include: pdfcpu/pdfcpu — pdfcpu is a Go PDF processing library and command-line interface designed for programmatically manipulating,… mawww/kakoune — Kakoune is a scriptable, modal text editor for the terminal that employs a client-server architecture. This model… guarinogabriel/mac-cli — Mac-CLI is a collection of terminal commands and utilities designed for automating system management, hardware… oils-for-unix/oils — Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and… microsoft/edit — This project is a terminal-based text editor and local file manipulation utility designed for modifying documents… tw93/miaoyan — MiaoYan is a local Markdown editor and personal knowledge management tool. It functions as a system for writing and…

Open-source alternatives to Sd

Similar open-source projects, ranked by how many features they share with Sd.
  • pdfcpu/pdfcpupdfcpu avatar

    pdfcpu/pdfcpu

    8,675View on GitHub↗

    pdfcpu is a Go PDF processing library and command-line interface designed for programmatically manipulating, optimizing, and validating PDF files. It provides a toolkit for document content modification and structural management. The project distinguishes itself as an optimization tool and layout engine, capable of reducing file sizes and improving loading speeds by streamlining internal structures. It also functions as a security manager, providing password-based encryption, decryption, and digital signature verification. Its capability surface includes page management for merging, splittin

    Go
    View on GitHub↗8,675
  • mawww/kakounemawww avatar

    mawww/kakoune

    10,938View on GitHub↗

    Kakoune is a scriptable, modal text editor for the terminal that employs a client-server architecture. This model allows multiple terminal windows to connect to a single editing session, providing a programmable environment for managing source code and text. The editor is distinguished by its selection-first logic, where a text region must be predefined before a command is applied. It leverages regular expressions to manage multiple cursors and perform bulk edits across complex text patterns, and it integrates deeply with the shell by piping selections through external programs and filters.

    C++
    View on GitHub↗10,938
  • guarinogabriel/mac-cliguarinogabriel avatar

    guarinogabriel/Mac-CLI

    9,094View on GitHub↗

    Mac-CLI is a collection of terminal commands and utilities designed for automating system management, hardware monitoring, and software configuration on macOS. It serves as a developer utility and automation tool for manipulating files, managing version control, and auditing installed packages from the command line. The project provides hardware monitoring capabilities to track real-time battery health, CPU temperature, and fan speeds. It also includes system automation tools for managing power states, disk usage, and network settings through a unified interface. The utility covers several f

    Shell
    View on GitHub↗9,094
  • oils-for-unix/oilsoils-for-unix avatar

    oils-for-unix/oils

    3,288View on GitHub↗

    Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and Bash compatibility. It functions as a structured data shell, integrating JSON and J8 formats to manage complex data without relying on string parsing. The system is distinguished by a C++ transpiled interpreter that converts a subset of Python source code into strongly typed C++ for high-performance execution. It features a garbage-collected typed runtime that supports prototype-based polymorphism, lexical closures, and reference-based variable mutation. To decouple shell logic

    Python
    View on GitHub↗3,288
See all 30 alternatives to Sd→