aboutsummaryrefslogtreecommitdiff
path: root/bfd/awkscan-ip
blob: 73bd61fa95f66490bca1236af93f9b1147118d9d (plain)
1
2
3
4
5
6
7
8
# Awk filter, 1st filter for BFD internal prototype file extraction
#
# keep /*proto-internal blocks
/^\/\*proto-internal\*/,/^\*\/|^\*-\*\//
#
# Apparent bug in sed can discard last line in some situations; therefore
# make last line harmless.
END { print "\n" }