binutils-gdb/bfd/doc/awkscan-p
Steve Chamberlain 80d29884b8 Initial revision
1991-08-22 19:56:14 +00:00

9 lines
237 B
Plaintext
Executable File

# 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" }