Created
August 17, 2016 20:14
-
-
Save poppingtonic/8a99c6224825cafcacdaf6691b46996f to your computer and use it in GitHub Desktop.
If you need to read ##hplusroadmap logs
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
#!/usr/bin/env bash | |
sed -i.bak '/\-!\-/d' 2016-08-16.log && && gzip -9 2016-08-16.log.bak | |
# > ls -sh | |
# total 24K | |
# 12K sample.txt 12K sample.txt.bak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment