swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: ce397d215ccd07b8ae3f71db689aedb85d56ab40 authored by Linus Torvalds on 16 June 2018, 23:04:49 UTC
Linux 4.18-rc1
Tip revision: ce397d2
ld-version.sh
#!/usr/bin/awk -f
# SPDX-License-Identifier: GPL-2.0
# extract linker version number from stdin and turn into single number
	{
	gsub(".*\\)", "");
	gsub(".*version ", "");
	gsub("-.*", "");
	split($1,a, ".");
	print a[1]*100000000 + a[2]*1000000 + a[3]*10000;
	exit
	}
back to top