aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-27 17:00:13 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-12-27 17:00:13 +0100
commit67131a2f1068d4a3050405d7acf60fbe76da8921 (patch)
tree078d05abb4a53ba6204f927f8a6289ab89c34b50
parent9f3c7e7ea5d872fc017271df61691ea545049211 (diff)
downloadnissy-67131a2f1068d4a3050405d7acf60fbe76da8921.tar.gz
nissy-67131a2f1068d4a3050405d7acf60fbe76da8921.zip
Fixed example section
-rw-r--r--doc/nissy.133
1 files changed, 22 insertions, 11 deletions
diff --git a/doc/nissy.1 b/doc/nissy.1
index 2d2836c..9bc4023 100644
--- a/doc/nissy.1
+++ b/doc/nissy.1
@@ -210,27 +210,38 @@ is used instead. If none of this environment variables is defined
210(e.g. in a non-UNIX system), the current folder is used. 210(e.g. in a non-UNIX system), the current folder is used.
211. 211.
212.Sh EXAMPLES 212.Sh EXAMPLES
213.Pp
213The command: 214The command:
214.Dl nissy solve -v \(dqR\(aqU\(aqFD2L2FR2U2R2BD2LB2D\(aqB2L\(aqR\(aqBD2BU2LU2R\(aqU\(aqF\(dq 215.Dl nissy solve -v -O 1 \(dqR\(aqU\(aqFD2L2FR2U2R2BD2LB2D\(aqB2L\(aqR\(aqBD2BU2LU2R\(aqU\(aqF\(dq
215.
216Returns: 216Returns:
217.Dl Found 0 solutions, searching depth 0... 217.Dl Searching depth 0
218.Dl Found 0 solutions, searching depth 1... 218.Dl Searching depth 1
219.Dl (some more lines) 219.Dl (some more lines)
220.Dl Found 0 solutions, searching depth 16... 220.Dl Searching depth 16
221.Dl D2 F\(aq U2 D2 F\(aq L2 D R2 D F B2 R\(aq L2 F\(aq U\(aq D 221.Dl D2 F\(aq U2 D2 F\(aq L2 D R2 D F B2 R\(aq L2 F\(aq U\(aq D
222.Dl Searching depth 17
222.Dl D2 F\(aq U2 D2 F\(aq L2 D R2 D F B2 R\(aq L2 F\(aq U\(aq D (16) 223.Dl D2 F\(aq U2 D2 F\(aq L2 D R2 D F B2 R\(aq L2 F\(aq U\(aq D (16)
223. 224Notice that the solution is printed twice: the first time it is printed as soon
225as it is found as requested by the -v option.
226.Pp
224The command: 227The command:
225.Dl nissy solve eofb -m 4 -M 5 -n -s 6 \(dqR\(aqU\(aqFD2L2 FR2 U2R2BD2 L B2 D\(aq B2 L\(aq R\(aq\(dq 228.Dl nissy solve eofb -m 4 -M 5 -N -n 6 \(dqR\(aqU\(aqFD2L2 FR2 U2R2BD2 L B2 D\(aq B2 L\(aq R\(aq\(dq
226.
227Returns: 229Returns:
228.Dl U B U\(aq B (4) 230.Dl U B U\(aq B (4)
229.Dl U2 D2 B (B) (4) 231.Dl U (B R\(aq B) (4)
232.Dl (U B R\(aq B) (4)
230.Dl U2 F R2 F (4) 233.Dl U2 F R2 F (4)
231.Dl U2 B U2 B (4) 234.Dl U2 B U2 B (4)
232.Dl U2 B (U B) (4) 235.Dl (U2 B R\(aq B) (4)
233.Dl U\(aq B U B (4) 236.Pp
237On a UNIX shell, the composite command
238.Dl nissy scramble -n 2 | nissy solve -i > file.txt
239Generates two random scrambles, solves them and saves the result to file.txt.
240The file will look something like this:
241.Dl >>> Line: D U2 F D B\(aq F L2 D\(aq F2 R2 L B2 L\(aq U2 B2 R F2 L\(aq D2
242.Dl U2 R2 F2 L B2 D\(aq R2 D\(aq F U L2 B\(aq U\(aq R2 D2 R2 U (17)
243.Dl >>> Line: D B R U\(aq B\(aq L2 U L U D2 R L B2 U2 L2 U2 R U2 B2 L F2
244.Dl D\(aq F R\(aq D B L2 B R2 L U L U2 B D\(aq U R U F2 (18)
234. 245.
235.Sh AUTHORS 246.Sh AUTHORS
236.An Sebastiano Tronto Aq Mt sebastiano.tronto@gmail.com 247.An Sebastiano Tronto Aq Mt sebastiano.tronto@gmail.com

Generated with cgit - Back to sebastiano.tronto.net