Find and Replace in the Terminal.

edit✏️

πŸŽ„This post has fully grown


grepr

grepr() {grep -iRl "$1" | xargs sed -i "s/$1/$2/g"}

```bash
grepr() {grep -iRl "$1" | xargs sed -i "s/$1/$2/g"}

grepd

grepd() {grep -iRl "$1" | xargs sed -i "/^$1/d"}

CocSearch

:CocSearch status: 'false' -g *.md


πŸ‘€ see an issue, edit this post on GitHub

If you found value in this post
and want to send a tip.

Buy Me A Coffee



tweet about this post and it will show up here.

    loading
←An IndieWeb Webring πŸ•ΈπŸ’β†’

.