Good to know
Trimming and deleting blank lines are separate operations. A line containing only spaces becomes empty after trimming.
Local tool Remove leading and trailing whitespace from each line or delete empty lines.
Trimming and deleting blank lines are separate operations. A line containing only spaces becomes empty after trimming.
Trimming affects the two ends of each line. Spaces between words are preserved.
Use only the empty-line operation. Trimming removes leading whitespace from nonempty lines as well.