Merge pull request #791 from chhetripradeep/pchhetri/trim

Add documentation for the trim command
This commit is contained in:
Jonathan Turner 2019-10-07 04:30:52 +11:00 committed by GitHub
commit 09e88d127e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
docs/commands/trim.md Normal file
View File

@ -0,0 +1,12 @@
# trim
Trim leading and following whitespace from text data
## Example
```shell
> echo " Hello world"
Hello world
> echo " Hello world" | trim
Hello world
```