mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 02:06:37 +00:00
11 lines
119 B
Awk
11 lines
119 B
Awk
|
|
BEGIN {
|
|
FS = "[ \t\.\"]+"
|
|
}
|
|
|
|
{
|
|
if ($1 ~ /^#define$/ && $2 ~ /^VERSION$/) {
|
|
printf("%s.%s.%s\n", $3, $4, $5);
|
|
}
|
|
}
|