sd: Intuitive Command-Line Find and Replace Tool as sed Alternative
By
jcbhmr
Toasted golden, schmeared with insight. Top of the rack.
Summary
sd is an intuitive command-line tool for find and replace operations, designed as a modern alternative to sed and awk. It offers painless regular expressions using familiar JavaScript/Python syntax, string-literal mode for non-regex operations, and easy-to-read expressions without complex escaping requirements. The tool aims to improve developer productivity with a cleaner, more user-friendly interface for text manipulation tasks.
Key quotes
· 4 pulledPainless regular expressions. sd uses regex syntax that you already know from JavaScript and Python
String-literal mode. Non-regex find & replace. No more backslashes or remembering which characters are special
Easy to read, easy to write. Find & replace expressions are split up, which makes them easy to read and write
Why use it over any existing tools? Forget about dealing with quirks of sed or awk - get productive immediately
You might also wanna read
qqqa: A Fast, Stateless LLM-Powered Command Line Assistant for Terminal Operations
qqqa is a command-line interface tool that provides two main functions: 'qq' for answering questions using LLMs and 'qa' for executing comma
zoxide: A Smarter Directory Navigation Tool for Command Line
zoxide is a command-line tool that serves as a smarter alternative to the traditional 'cd' command, inspired by z and autojump. It learns an
jqp: A Terminal User Interface Playground for jq JSON Processing
jqp is a Terminal User Interface (TUI) playground tool for experimenting with jq, a lightweight and flexible command-line JSON processor. Th
GitHub CLI Tool for Retrying Fallible Commands
The article describes 'attempt', a command-line interface (CLI) tool for retrying fallible commands. It appears to be a GitHub repository pa
Researcher's "ADHD" tool for Claude Code claims 2x improvement; experts call for more evidence
Solo researcher Udit Akhouri released a third-party Agent SDK tool called "ADHD" for Claude Code on Reddit, claiming it helps coding agents
bit.ly·8h agoMicrosoft Foundry Skill: Reusable Guidance for Coding Agent Workflows
The Microsoft Foundry Skill is a meta-skill for coding agents that provides reusable guidance for Foundry agent workflows. It helps standard
