windows-nt/Source/XPSP1/NT/com/oleutest/balls/stripspc.sed
2020-09-26 16:20:57 +08:00

16 lines
145 B
Sed
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:noblank
s/ //
s/[ ][ ]*$//
/^$/{
p
:delete
N
s/\n//
s/ //
s/[ ][ ]*$//
/^$/{
b delete
}
b noblank
}