Line spacing

Does anyone know if there is an exsisting script that could be used in the "Actions before saving"  that can be used to reduce line spacing?