doc: usage with pipes
This commit is contained in:
@@ -16,4 +16,10 @@ Add the build `sp` executable in your `PATH` environment to easily invoke the to
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
`sp <word>` to check the provided _word_. Returns the correct spelling of the word. In case of a misspelling the first suggestion of ispell is automatically choosen and returned.
|
`sp <word>` to check the provided _word_. Returns the correct spelling of the word. In case of a misspelling the first suggestion of ispell is automatically choosen and returned. The `<word>` may also be provided instead using pipes.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sp pple
|
||||||
|
# is equivalent to
|
||||||
|
echo pple | sp
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user