From 7d115da7825aee3532decb78682051f18d40d39c Mon Sep 17 00:00:00 2001 From: Pradeep Chhetri Date: Sun, 6 Oct 2019 22:35:38 +0800 Subject: [PATCH] Add documentation for the trim command --- docs/commands/trim.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/commands/trim.md 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