| 5 | 5 | KeenQuotes converts straight quotes into curly quotes. |
| 6 | 6 | |
| 7 | # Demo |
|
| 8 | ||
| 9 | Try the [demo](https://whitemagicsoftware.com/keenquotes/)! |
|
| 10 | ||
| 7 | 11 | # Requirements |
| 8 | 12 | |
| 9 | Download and install JRE 19: |
|
| 13 | Download and install JRE 20: |
|
| 10 | 14 | |
| 11 | * [Java 19](https://bell-sw.com/pages/downloads) or newer. |
|
| 15 | * [Java 20](https://bell-sw.com/pages/downloads) or newer. |
|
| 12 | 16 | |
| 13 | 17 | # Download |
| ... | ||
| 21 | 25 | Run the software from the command-line as follows: |
| 22 | 26 | |
| 23 | java -jar keenquotes.jar < src.txt > dst.txt 2> err.txt |
|
| 27 | ``` bash |
|
| 28 | java -jar keenquotes.jar < src.txt > dst.txt 2> err.txt |
|
| 29 | ``` |
|
| 24 | 30 | |
| 25 | 31 | Where: |
| 26 | 32 | |
| 27 | 33 | * `src.txt` -- Input document file that contains straight quotes. |
| 28 | 34 | * `dst.txt` -- Output document file that'll contain curled quotes. |
| 29 | 35 | * `err.txt` -- Error file that will note ambiguous conversion errors. |
| 30 | 36 | |
| 31 | 37 | For help, run the software as follows: |
| 32 | 38 | |
| 33 | java -jar keenquotes.jar -h |
|
| 39 | ``` bash |
|
| 40 | java -jar keenquotes.jar -h |
|
| 41 | ``` |
|
| 34 | 42 | |
| 35 | 43 | # Software Design |
| 15 | 15 | implementation 'info.picocli:picocli:4.7.4' |
| 16 | 16 | |
| 17 | testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0' |
|
| 18 | testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.0' |
|
| 17 | testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0' |
|
| 18 | testImplementation 'org.junit.jupiter:junit-jupiter-params:5.10.0' |
|
| 19 | 19 | testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine' |
| 20 | 20 | } |
| ... | ||
| 30 | 30 | compileJava { |
| 31 | 31 | options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" |
| 32 | options.compilerArgs.addAll(['--release', '19']) |
|
| 32 | options.compilerArgs.addAll(['--release', '20']) |
|
| 33 | 33 | } |
| 34 | 34 | |