blob: 0748faddbf76a193269435107bcb4727bb4759f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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/
}
|