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

12 lines
270 B
Text
Executable file

# SED script for preprocessing embedded headers from C source comments
# (S. Chamberlain markup)
# beginning of many passes of cleanup work
#
# Delete empty comment blocks
/^\/\*$/N
/^\/\*\n\*\/ *$/d
#
# Locate and coalesce adjacent comments
/\*\/$/N
s/\*\/\n\/\*/\
/