3 homepage: https://github.com/chmln/sd
5 sd is an intuitive find & replace CLI.
12 Use the `@beta` tag for pre-releases.
16 > sd is a productive and faster replacement of sed and awk command used for
17 > editing files in command line interface,it uses regex syntax similar to those
18 > used in JavaScript and Python
22 ### Replacing Text in a File
25 sd 'original word' 'final word' ./file_to_be_changed
28 ### Taking out word inside slashes from a given string
31 echo "string output shown /word inside slashes/" | sd '.*(/.*/)' '$1'
35 ### Using the string mode (-s)
41 cat exm.txt| sd -s '@' ''