mirror of
https://github.com/danbulant/nushell
synced 2026-05-24 12:35:59 +00:00
Add documentation for the trim command
This commit is contained in:
parent
b066775630
commit
7d115da782
1 changed files with 12 additions and 0 deletions
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 a new issue