trim

Trim leading and following whitespace from text data

Example

> echo "    Hello world"
    Hello world
> echo "    Hello world" | trim
Hello world