aboutsummaryrefslogtreecommitdiff
path: root/bfd/startcom-p
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-08-17 00:16:57 +0000
committerSteve Chamberlain <steve@cygnus>1991-08-17 00:16:57 +0000
commit90f3f3e2b046a492b08d8802fd6e2055508b795e (patch)
tree2cee2df785574d5200035c64b9a81a09036ec9e4 /bfd/startcom-p
parent3a26c0cd00b712a85b63ad962ff72d125154b1bc (diff)
downloadgdb-90f3f3e2b046a492b08d8802fd6e2055508b795e.zip
gdb-90f3f3e2b046a492b08d8802fd6e2055508b795e.tar.gz
gdb-90f3f3e2b046a492b08d8802fd6e2055508b795e.tar.bz2
Initial revision
Diffstat (limited to 'bfd/startcom-p')
-rwxr-xr-xbfd/startcom-p12
1 files changed, 12 insertions, 0 deletions
diff --git a/bfd/startcom-p b/bfd/startcom-p
new file mode 100755
index 0000000..0748fad
--- /dev/null
+++ b/bfd/startcom-p
@@ -0,0 +1,12 @@
+# sed script for preprocessing BFD header files
+# <start comment> activity:
+/^\/\*$/{
+N
+# Delete empty comment blocks
+/^\/\*\n\*\/ *$/d
+# Transpose <start comment><blank line>
+s/^\/\*\n *$/\
+\/*/
+# merge <start comment> on line by itself with following line
+s/^\/\*\n\(.*\)/\/* \1/
+}