
sd
List of commands for sd:
-
sd:tldr:44578 sd: Find and replace in all files in the current project (output stream: `stdout`).$ sd ${'from "react"'} ${'from "preact"'} "$(find . -type f)"try on your machineexplain this command
-
sd:tldr:6fcf3 sd: Replace words using capture groups (output stream: `stdout`).$ ${echo 'cargo +nightly watch'} | sd '(\w+)\s+\+(\w+)\s+(\w+)' 'cmd: $1, channel: $2, subcmd: $3'try on your machineexplain this command
-
sd:tldr:76548 sd: Find and replace in a specific file (output stream: `stdout`).$ sd -p ${'window-fetch'} ${'fetch'} ${filename-js}try on your machineexplain this command
-
sd:tldr:94b96 sd: Trim some whitespace using a regular expression (output stream: `stdout`).$ ${echo 'lorem ipsum 23 '} | sd '\s+$' ''try on your machineexplain this command