diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 19:25:04 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-09 19:25:04 +0200 |
| commit | b218c803ae1110b08b4896be0a59177e280c9091 (patch) | |
| tree | 5be2f99b20f968d3f3649f1064d60acf059f49b6 /utils/genmoveswitch.sh | |
| parent | c5c5017a335208881e27fc8f72c1d0145a04622a (diff) | |
| download | nissy-core-b218c803ae1110b08b4896be0a59177e280c9091.tar.gz nissy-core-b218c803ae1110b08b4896be0a59177e280c9091.zip | |
sorted utils folder
Diffstat (limited to 'utils/genmoveswitch.sh')
| -rwxr-xr-x | utils/genmoveswitch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | printf '\tswitch (m) {\n' | 3 | printf '\tswitch (m) {\n' |
| 4 | for f in move_??_*.txt; do | 4 | for f in cubse/move_??_*.txt; do |
| 5 | t="$(echo $f | sed 's/.*_// ; s/\.txt//')" | 5 | t="$(echo $f | sed 's/.*_// ; s/\.txt//')" |
| 6 | printf '\tcase %s:\n\t\treturn _move(%s, c);\n' "$t" "$t" | 6 | printf '\tcase %s:\n\t\treturn _move(%s, c);\n' "$t" "$t" |
| 7 | done | 7 | done |
