mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
17 lines
218 B
Plaintext
17 lines
218 B
Plaintext
|
# blank-line activity:
|
||
|
# Merge adjacent blank lines. Loop til no change.
|
||
|
:blin
|
||
|
/^$/,/^ *[^ ]*.*$/{
|
||
|
/^$/N
|
||
|
s/^ *\n *$//
|
||
|
}
|
||
|
t blin
|
||
|
#
|
||
|
/^$/,/^ *[^ ]*.*$/{
|
||
|
/^$/N
|
||
|
# Transpose <blank line> <end comment>
|
||
|
/^ *\n\*\/$/c\
|
||
|
*\/\
|
||
|
|
||
|
}
|