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