scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

commit 3f5a2335802eef3636523ba9a07451c2c75f8d91
parent a7c07e7f19904213ac79452cc03bc0502b0ac4d2
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Sun, 21 Jan 2024 22:29:55 +0100

Little improvement

Diffstat:
Mpractice | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/practice b/practice @@ -72,11 +72,11 @@ practice_dr() { lhtlr="$(echo "$solhtlr" | head -n 1 | wc -w)" read -r x echo "DR on U/D: $leo moves ($neo solutions)" - if [ "$nht" != "$neo" ] || [ "$lht" != "$leo" ]; then + if [ "$nht" != "$neo" ]; then echo "Breaking EO: $lht moves ($nht solutions)" fi echo "DR on R/L: $leolr moves ($neolr solutions)" - if [ "$nhtlr" != "$neolr" ] || [ "$lhtlr" != "$leolr" ]; then + if [ "$nhtlr" != "$neolr" ]; then echo "Breaking EO: $lhtlr moves ($nhtlr solutions)" fi read -r x