aboutsummaryrefslogtreecommitdiff
path: root/bfd/doc/awkscan-ip
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-08-22 19:56:14 +0000
committerSteve Chamberlain <steve@cygnus>1991-08-22 19:56:14 +0000
commit80d29884b8b36ca12dcae2bd744d74ba7c749e42 (patch)
tree50d1eb2b5b6d0cd0fb7e2861dc8c00d255801733 /bfd/doc/awkscan-ip
parentd51d16c8e6bc078ac493ea6853093724163f169f (diff)
downloadgdb-80d29884b8b36ca12dcae2bd744d74ba7c749e42.zip
gdb-80d29884b8b36ca12dcae2bd744d74ba7c749e42.tar.gz
gdb-80d29884b8b36ca12dcae2bd744d74ba7c749e42.tar.bz2
Initial revision
Diffstat (limited to 'bfd/doc/awkscan-ip')
-rwxr-xr-xbfd/doc/awkscan-ip8
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" }