ld-version.sh 207 Bytes
Newer Older
1 2 3 4 5
#!/usr/bin/awk -f
# extract linker version number from stdin and turn into single number
	{
	gsub(".*)", "");
	split($1,a, ".");
6
	print a[1]*100000000 + a[2]*1000000 + a[3]*10000 + a[4]*100 + a[5];
7 8
	exit
	}