Added example results

This commit is contained in:
Mattia Mascarello 2021-10-06 17:54:41 +02:00 committed by GitHub
parent 05c64a0346
commit 0b8ff31eb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,12 +19,32 @@ doas bash install.sh
(The program is compiled at this time, you may check the script and the program out beforehand) (The program is compiled at this time, you may check the script and the program out beforehand)
## Examples ## Examples
Once installed, you can find sample files in the project dir. Once installed, you can find sample files in the project dir.
---
Example 1:
```sh ```sh
ropipe < arabic.txt ropipe < arabic.txt
``` ```
Result:
```
I
X
CXXIII
CCCXXI
```
---
Example 2:
```sh ```sh
ropipe -r < roman.txt ropipe -r < roman.txt
``` ```
Result:
```
4
5
7
1200
```
## Manpage ## Manpage
A manpage is installed alongside the program, try running `man ropipe` A manpage is installed alongside the program, try running `man ropipe`