Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
remove lines with ag and sed
ag 'publish_notification' -0 -l $1 | xargs -0 sed -i '/publish_notification/d'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment