Merge pull request #791 from chhetripradeep/pchhetri/trim
Add documentation for the trim command
This commit is contained in:
commit
09e88d127e
12
docs/commands/trim.md
Normal file
12
docs/commands/trim.md
Normal 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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user