Skip to content
projects
/
linux
·
blob
v4.4-rc8 ·
refs
linux
scripts
ld-version.sh
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
8 lines · 205 B
1
#
!/usr/bin/awk -f
2
#
extract linker version number from stdin and turn into single number
3
{
4
gsub
(
"
.*)
"
,
"
"
)
;
5
split
(
$
1
,a,
"
.
"
)
;
6
print
a
[
1
]
*
10000000 + a
[
2
]
*
100000 + a
[
3
]
*
10000 + a
[
4
]
*
100 + a
[
5
]
;
7
exit
8
}