Fixed examples using piped command output. Closes #4.
This commit is contained in:
parent
8f9e3adec1
commit
ed3ea7e06e
1 changed files with 2 additions and 2 deletions
|
|
@ -92,14 +92,14 @@ $ ./matrix.sh --html "This is <strong>very important</strong>."
|
||||||
|
|
||||||
#### Piping command output:
|
#### Piping command output:
|
||||||
```
|
```
|
||||||
$ echo "Hello" | ./matrix.sh
|
$ echo "Hello" | ./matrix.sh -
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Code formatting:
|
#### Code formatting:
|
||||||
You can use `--pre` to send messages formatted as code. This will also escape
|
You can use `--pre` to send messages formatted as code. This will also escape
|
||||||
HTML tags.
|
HTML tags.
|
||||||
```
|
```
|
||||||
$ ls -l | ./matrix.sh --pre
|
$ ls -l | ./matrix.sh --pre -
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Sending files:
|
#### Sending files:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue