Find and Replace in the Terminal. ================================= notes about find and replace techniques Date: November 12, 2020 ## grepr ````bash grepr() {grep -iRl "$1" | xargs sed -i "s/$1/$2/g"} ```bash grepr() {grep -iRl "$1" | xargs sed -i "s/$1/$2/g"} ```` ## grepd ```python grepd() {grep -iRl "$1" | xargs sed -i "/^$1/d"} ``` ## CocSearch ```bash :CocSearch published: false -g *.md ```