scripts

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

commit 9f8f47fb87ace061bad00afbef916b3cef3a8343
parent 68d1e9ef24b30649c6aec0a2655d85317fbf5dce
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Sun, 29 Oct 2023 21:25:38 +0100

some shellcheck

Diffstat:
Mpractice | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/practice b/practice @@ -13,13 +13,13 @@ eo() { while true; do scr="$nextscr" nextscr="$(nissy scramble)" - echo $scr - eofb="$(nissy solve -N -M 4 eofb -p $scr)" - eorl="$(nissy solve -N -M 4 eorl -p $scr)" - eoud="$(nissy solve -N -M 4 eoud -p $scr)" - nfbn="$(echo "$eofb" | grep -v '^$' | fgrep -v '(' | wc -l)" - nrln="$(echo "$eorl" | grep -v '^$' | fgrep -v '(' | wc -l)" - nudn="$(echo "$eoud" | grep -v '^$' | fgrep -v '(' | wc -l)" + echo "$scr" + eofb="$(nissy solve -N -M 4 eofb -p "$scr")" + eorl="$(nissy solve -N -M 4 eorl -p "$scr")" + eoud="$(nissy solve -N -M 4 eoud -p "$scr")" + nfbn="$(echo "$eofb" | grep -v '^$' | grep -Fv '(' | wc -l)" + nrln="$(echo "$eorl" | grep -v '^$' | grep -Fv '(' | wc -l)" + nudn="$(echo "$eoud" | grep -v '^$' | grep -Fv '(' | wc -l)" nfbi="$(echo "$eofb" | grep '^(' | wc -l)" nrli="$(echo "$eorl" | grep '^(' | wc -l)" nudi="$(echo "$eoud" | grep '^(' | wc -l)"