diff options
Diffstat (limited to 'specs/scripts/eglenum.sh')
-rwxr-xr-x | specs/scripts/eglenum.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/specs/scripts/eglenum.sh b/specs/scripts/eglenum.sh new file mode 100755 index 00000000..9727412a --- /dev/null +++ b/specs/scripts/eglenum.sh @@ -0,0 +1,3 @@ +sed -n -e 's/^\s\+\(EGL_\)\?\(\S\+\)\s*=\s*\(0x3\w\w\w\)\s*\(#.*\)\?$/\3 \2/p' "$@" \ +| sort -u \ +| sed -e 's/\(\S\+\)\s\+\(\S\+\)/ "EGL_\2",\t\t# \1/' |