3 homepage: https://github.com/chmln/sd
5 sd is an intuitive find & replace CLI.
8 To update or switch versions, run `webi sd@stable` (or `@v0.7`, `@beta`, etc).
12 > sd is a productive and faster replacement of sed and awk command used for
13 > editing files in command line interface,it uses regex syntax similar to those
14 > used in JavaScript and Python
18 ### Replacing Text in a File
21 sd 'original word' 'final word' ./file_to_be_changed
24 ### Taking out word inside slashes from a given string
27 echo "string output shown /word inside slashes/" | sd '.*(/.*/)' '$1'
31 ### Using the string mode (-s)
37 cat exm.txt| sd -s '@' ''