Update README.md

This commit is contained in:
Michiel Borkent 2019-12-20 21:23:51 +01:00 committed by GitHub
parent ae32f6e074
commit 11eea4d1d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,10 +229,10 @@ The following table illustrates the combination of options for commands of the f
| Input | Input flags | Output flag | `<input>` | Output |
|----------------|-------------|-------------|---------------|----------|
| `{:a 1}` | | | `{:a 1}` | `{:a 1}` |
| `{:a 1}` <br> `{:a 2}` | | | `{:a 1}` | `{:a 1}` |
| hello <br> bye | `-i` | | `("hello" "bye")` | `("hello" "bye")` |
| hello <br> bye | `-i` | `-o` | `("hello" "bye")` | hello <br> bye |
| `{:a 1} {:a 2}` | `-I` | | `({:a 1} {:a 2})` | `({:a 1} {:a 2})` |
| `{:a 1}` <br> `{:a 2}` | `-I` | | `({:a 1} {:a 2})` | `({:a 1} {:a 2})` |
| `{:a 1}` <br> `{:a 2}` | `-I` | `-O` | `({:a 1} {:a 2})` | `{:a 1}` <br> `{:a 2}` |
When combined with the `--stream` option, the script is executed for each value in the input: