| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Indent each line in a string
npm install --global indent-string-cli$ indent-string --help
Usage
$ indent-string <string> [--count=<number>] [--indent=<string>]
$ cat file.txt | indent-string > indented-file.txt
Example
$ indent-string "$(printf 'Unicorns\nRainbows\n')" --count=4 --indent=♥
♥♥♥♥Unicorns
♥♥♥♥Rainbows
| Back | FazBrowse Home | New Git URL |