HEY! I'm working on an awesome course on Golang and Ember.js skills that's live soon. Get early access to it here:

nerdyworm

Ack Sed Replace With No Backup File

For some reason when ever I google this I can never find exactly what I am looking for. Also on OS X sed needs an extra argument to avoid the backup file.

1
ack -l nedle | xargs sed -i '' -e "s/nedle/needle/g"

So simple, yet I can never seem to find it quickly when I forget it.

Comments