diff options
Diffstat (limited to 'bfd/doc/awkscan-p')
-rwxr-xr-x | bfd/doc/awkscan-p | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/doc/awkscan-p b/bfd/doc/awkscan-p new file mode 100755 index 0000000..c7fe79f --- /dev/null +++ b/bfd/doc/awkscan-p @@ -0,0 +1,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" } |