better docs

This commit is contained in:
Michiel Borkent 2019-08-10 22:08:06 +02:00
parent b226fa15e1
commit 37a893fdd8

View file

@ -49,10 +49,10 @@ You may also download a binary from [Github](https://github.com/borkdude/babashk
```
There is one special variable, `*in*`, which is the input read from stdin. The
input is read as EDN by default, unless the `-i` flag is provided, then the
input is read as a string split by newlines into a vector.. The output is
printed as EDN by default, unless the `-o` flag is provided, then the output is
printed using `println`. To combine `-i` and `-o` you can use `-io`.
input is read as EDN by default. If the `-i` flag is provided, then the input is
read as a string which is then split on newlines. The output is printed as EDN
by default, unless the `-o` flag is provided, then the output is turned into
shell-scripting friendly output. To combine `-i` and `-o` you can use `-io`.
The current version can be printed with `bb --version`.