Created
July 29, 2015 11:07
-
-
Save Wesitos/7137cba4aa043aa3ac75 to your computer and use it in GitHub Desktop.
Get screen info
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
grep -Pzo '(?s)(\N*?)EDID data(.*?)End of(\1)EDID' /var/log/Xorg.0.log | |
# http://stackoverflow.com/questions/3717772/regex-grep-for-multi-line-search-needed/7167115#7167115 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment