Created
April 7, 2010 11:23
-
-
Save lukmdo/358765 to your computer and use it in GitHub Desktop.
AWK code repo
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
BEGIN {begin=0;end=0} | |
{ | |
if ($1 == "Open_features:") begin=1 | |
if (begin && $1 == "") end=1 | |
if (begin && !end && $1 != "#" && $1 != "Open_features:") OUT[$NF] = 1 | |
} | |
END {for (key in OUT) print key} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment