From b218c803ae1110b08b4896be0a59177e280c9091 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 9 Jun 2024 19:25:04 +0200 Subject: sorted utils folder --- utils/genmoveswitch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/genmoveswitch.sh') diff --git a/utils/genmoveswitch.sh b/utils/genmoveswitch.sh index cce18fc..30cf068 100755 --- a/utils/genmoveswitch.sh +++ b/utils/genmoveswitch.sh @@ -1,7 +1,7 @@ #!/bin/sh printf '\tswitch (m) {\n' -for f in move_??_*.txt; do +for f in cubse/move_??_*.txt; do t="$(echo $f | sed 's/.*_// ; s/\.txt//')" printf '\tcase %s:\n\t\treturn _move(%s, c);\n' "$t" "$t" done -- cgit v1.3