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