projects
/
platform
/
upstream
/
coreclr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #1242 from david-mitchell/update-osx-instructions
[platform/upstream/coreclr.git]
/
generateversionscript.awk
1
BEGIN {
2
print "V1.0 {";
3
print " global:";
4
}
5
{
6
# Remove the CR character in case the sources are mapped from
7
# a Windows share and contain CRLF line endings
8
gsub(/\r/,"", $0);
9
10
# Skip empty lines and comment lines starting with semicolon
11
if (NF && !match($0, /^[:space:]*;/))
12
{
13
print " " $0 ";";
14
}
15
}
16
END {
17
print " local: *;"
18
print "};";
19
}