sd

intuitive find and replace CLI

Description

sd uses Python and JavaScript style regex syntax, without the quirks of sed and awk. While sed can do many things, sd focuses on doing one thing and doing it well, has common-sense defualts and a focus on daily use. It's also faster.

 - Find and replace expressions are separate, unlike sed:
  sd before after
  sed s/before/after/g
 - Modify files in-place:
  sd before after file.txt
  sed -i'' 's/before/after/g' file.txt
 - String-literal mode
 - Named or unnamed catch groups

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/chmln/sd


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install sd