diff --git a/docs/commands/trim.md b/docs/commands/trim.md new file mode 100644 index 0000000000..5f01a688f7 --- /dev/null +++ b/docs/commands/trim.md @@ -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 +``` \ No newline at end of file