windows-nt/Source/XPSP1/NT/com/oleutest/balls/stripspc.sed

16 lines
145 B
Sed
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
:noblank
s/ //
s/[ ][ ]*$//
/^$/{
p
:delete
N
s/\n//
s/ //
s/[ ][ ]*$//
/^$/{
b delete
}
b noblank
}