freebsd-skq/usr.bin/lex/version.awk
Jung-uk Kim 7e38239042 MFV: r362286
Merge flex 2.6.4.
2020-06-18 18:09:16 +00:00

12 lines
131 B
Awk

# $FreeBSD$
BEGIN {
FS = "[ \t\.\"]+"
}
{
if ($1 ~ /^#define$/ && $2 ~ /^VERSION$/) {
printf("%s.%s.%s\n", $3, $4, $5);
}
}