old-cross-binutils/bfd/doc/startcom-p
Steve Chamberlain 80d29884b8 Initial revision
1991-08-22 19:56:14 +00:00

12 lines
284 B
Text
Executable file

# 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/
}