binutils-gdb/bfd/awkscan-p
Steve Chamberlain 90f3f3e2b0 Initial revision
1991-08-17 00:16:57 +00:00

9 lines
304 B
Plaintext
Executable File

# NOTE: BEGIN pattern gives errors if other than 1st line;
# END ditto if other than last.
BEGIN { print "/* ------------------------------START FROM " FILENAME "*/" }
#
# keep /*proto blocks
/^\/\*proto\*/,/^\*\/|^\*-\*\//
#
END { print "/* --------------------------------END FROM " FILENAME "*/\n" }