mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
d0b2dbfa0e
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
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);
|
|
}
|
|
}
|