Created
January 11, 2018 16:35
-
-
Save thiagovsk/7a301cc9d12074b917a57b1856ee01fa to your computer and use it in GitHub Desktop.
remove lines with ag and sed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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