Created
January 29, 2020 00:58
-
-
Save fooman/ea7e6b5eb11721148f7b2a7c93f23bd0 to your computer and use it in GitHub Desktop.
Remove copyright updates from Magento 1 patch file
This file contains 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
tac CE-1.9.4.3-1.9.4.4-2020-01-28-04-51-47.diff | sed '/+ \* @copyright/{n;N;N;N;N;N;N;d;}' |sed '/+\/\/ @copyright/{n;N;N;N;N;N;N;d;}'| tac | sed '/+ \* @copyright/{N;N;N;N;N;d;}' | sed '/+\/\/ @copyright/{N;N;N;N;N;d;}'> CE-actual.diff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Removes about 6MB from the patch file that is just updating the copyright line