glew-2.0.0.zip
glew-2.0.0.zip
glew-2.0.0.zip
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-07-24 00:43 glew-2.0.0
目录 0 2016-07-24 00:43 glew-2.0.0in
目录 0 2016-07-24 00:43 glew-2.0.0lib
目录 0 2016-07-24 00:43 glew-2.0.0auto
文件 14810 2016-07-24 00:43 glew-2.0.0autoMakefile
目录 0 2016-07-24 00:43 glew-2.0.0autoin
文件 22164 2016-07-24 00:43 glew-2.0.0autoinfilter_gl_ext.sh
文件 522 2016-07-24 00:43 glew-2.0.0autoinfilter_gles_ext.sh
文件 1271 2016-07-24 00:43 glew-2.0.0autoinfilter_spec.py
文件 5452 2016-07-24 00:43 glew-2.0.0autoinmake.pl
文件 851 2016-07-24 00:43 glew-2.0.0autoinmake_def_fun.pl
文件 792 2016-07-24 00:43 glew-2.0.0autoinmake_def_var.pl
文件 1112 2016-07-24 00:43 glew-2.0.0autoinmake_enable_index.pl
文件 1697 2016-07-24 00:43 glew-2.0.0autoinmake_header.pl
文件 1453 2016-07-24 00:43 glew-2.0.0autoinmake_html.pl
文件 915 2016-07-24 00:43 glew-2.0.0autoinmake_index.pl
文件 1617 2016-07-24 00:43 glew-2.0.0autoinmake_info.pl
文件 1303 2016-07-24 00:43 glew-2.0.0autoinmake_info_list.pl
文件 1619 2016-07-24 00:43 glew-2.0.0autoinmake_init.pl
文件 1156 2016-07-24 00:43 glew-2.0.0autoinmake_initd.pl
文件 1928 2016-07-24 00:43 glew-2.0.0autoinmake_list.pl
文件 1143 2016-07-24 00:43 glew-2.0.0autoinmake_list2.pl
文件 1491 2016-07-24 00:43 glew-2.0.0autoinmake_str.pl
文件 875 2016-07-24 00:43 glew-2.0.0autoinmake_struct_fun.pl
文件 797 2016-07-24 00:43 glew-2.0.0autoinmake_struct_var.pl
文件 13438 2016-07-24 00:43 glew-2.0.0autoinparse_spec.pl
文件 4080 2016-07-24 00:43 glew-2.0.0autoinparse_xml.py
文件 698 2016-07-24 00:43 glew-2.0.0autoinupdate_ext.sh
文件 352 2016-07-24 00:43 glew-2.0.0autolacklist
目录 0 2016-07-24 00:43 glew-2.0.0autocore
目录 0 2016-07-24 00:43 glew-2.0.0autocoregl
............此处省略1080个文件信息
#!/usr/bin/python
import re
section = re.compile(‘^(Name|Name Strings?|Contact|Notice|Number|Dependencies|Overview|Issues|IP Status|Status|Version|New Procedures and Functions|New Tokens|Additions to .*|Changes to .*|Modifications to .*|Add new Section .*)s*$‘)
token = re.compile(‘^s+(([A-Z0-9][A-Z0-9_x]*):?s+((?:0x)?[0-9A-F]+)([^?]*))?s*$‘)
match = [ ‘Name‘ ‘Name String‘ ‘Contact‘ ‘Notice‘ ‘Name Strings‘ ‘Version‘ ‘Number‘ ‘Dependencies‘ ‘New Procedures and Functions‘ ‘New Tokens‘]
if __name__ == ‘__main__‘:
from optparse import OptionParser
import os
parser = OptionParser(‘usage: %prog [options] [SOURCES...]‘)
(options args) = parser.parse_args()
for i in args:
lines = open(i).readlines()
f = open(i‘w‘)
# Keep track of the current section as we iterate over the input
current = ‘‘
for j in lines:
# Detect the start of a new section
m = section.match(j)
if m:
current = m.group(1).strip()
if current in match:
print >>f j
continue
if current==‘New Tokens‘:
if token.match(j):
print >>f j
elif current in match:
print >>f j
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-07-24 00:43 glew-2.0.0
目录 0 2016-07-24 00:43 glew-2.0.0in
目录 0 2016-07-24 00:43 glew-2.0.0lib
目录 0 2016-07-24 00:43 glew-2.0.0auto
文件 14810 2016-07-24 00:43 glew-2.0.0autoMakefile
目录 0 2016-07-24 00:43 glew-2.0.0autoin
文件 22164 2016-07-24 00:43 glew-2.0.0autoinfilter_gl_ext.sh
文件 522 2016-07-24 00:43 glew-2.0.0autoinfilter_gles_ext.sh
文件 1271 2016-07-24 00:43 glew-2.0.0autoinfilter_spec.py
文件 5452 2016-07-24 00:43 glew-2.0.0autoinmake.pl
文件 851 2016-07-24 00:43 glew-2.0.0autoinmake_def_fun.pl
文件 792 2016-07-24 00:43 glew-2.0.0autoinmake_def_var.pl
文件 1112 2016-07-24 00:43 glew-2.0.0autoinmake_enable_index.pl
文件 1697 2016-07-24 00:43 glew-2.0.0autoinmake_header.pl
文件 1453 2016-07-24 00:43 glew-2.0.0autoinmake_html.pl
文件 915 2016-07-24 00:43 glew-2.0.0autoinmake_index.pl
文件 1617 2016-07-24 00:43 glew-2.0.0autoinmake_info.pl
文件 1303 2016-07-24 00:43 glew-2.0.0autoinmake_info_list.pl
文件 1619 2016-07-24 00:43 glew-2.0.0autoinmake_init.pl
文件 1156 2016-07-24 00:43 glew-2.0.0autoinmake_initd.pl
文件 1928 2016-07-24 00:43 glew-2.0.0autoinmake_list.pl
文件 1143 2016-07-24 00:43 glew-2.0.0autoinmake_list2.pl
文件 1491 2016-07-24 00:43 glew-2.0.0autoinmake_str.pl
文件 875 2016-07-24 00:43 glew-2.0.0autoinmake_struct_fun.pl
文件 797 2016-07-24 00:43 glew-2.0.0autoinmake_struct_var.pl
文件 13438 2016-07-24 00:43 glew-2.0.0autoinparse_spec.pl
文件 4080 2016-07-24 00:43 glew-2.0.0autoinparse_xm
文件 698 2016-07-24 00:43 glew-2.0.0autoinupdate_ext.sh
文件 352 2016-07-24 00:43 glew-2.0.0autolacklist
目录 0 2016-07-24 00:43 glew-2.0.0autocore
目录 0 2016-07-24 00:43 glew-2.0.0autocoregl
............此处省略1080个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)