aboutsummaryrefslogtreecommitdiff
path: root/utils/gentransswitch.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-06-09 19:25:04 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-06-09 19:25:04 +0200
commitb218c803ae1110b08b4896be0a59177e280c9091 (patch)
tree5be2f99b20f968d3f3649f1064d60acf059f49b6 /utils/gentransswitch.sh
parentc5c5017a335208881e27fc8f72c1d0145a04622a (diff)
downloadnissy-core-b218c803ae1110b08b4896be0a59177e280c9091.tar.gz
nissy-core-b218c803ae1110b08b4896be0a59177e280c9091.zip
sorted utils folder
Diffstat (limited to 'utils/gentransswitch.sh')
-rwxr-xr-xutils/gentransswitch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gentransswitch.sh b/utils/gentransswitch.sh
index 42726ce..447c9be 100755
--- a/utils/gentransswitch.sh
+++ b/utils/gentransswitch.sh
@@ -1,7 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2 2
3printf '\tswitch (t) {\n' 3printf '\tswitch (t) {\n'
4for f in transform_??_???.txt; do 4for f in cubes/transform_??_???.txt; do
5 t="$(echo $f | sed 's/.*_// ; s/\.txt//')" 5 t="$(echo $f | sed 's/.*_// ; s/\.txt//')"
6 mirror_or_rotation="$(echo $t | grep m)" 6 mirror_or_rotation="$(echo $t | grep m)"
7 if [ -z "$mirror_or_rotation" ]; then 7 if [ -z "$mirror_or_rotation" ]; then

Generated with cgit - Back to sebastiano.tronto.net