#text #command-line #remove #white-space #trim #leading #trailing

app trimgin

Small Command to remove leading and trailing whitespace from text

1 stable release

1.0.0 Mar 24, 2024

#1921 in Command line utilities

MIT license

5KB
103 lines

trimgin (trim + margin)

Small Command to remove leading and trailing whitespace from text.

Usage



Hi there!
We have two blank lines above and below this text.
And this space will be removed by 'trimgin'.


$ trimgin text.txt
Hi there!
We have two blank lines above and below this text.
And this space will be removed by 'trimgin'.

No runtime deps