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/gentranscode.sh | |
| parent | c5c5017a335208881e27fc8f72c1d0145a04622a (diff) | |
| download | nissy-core-b218c803ae1110b08b4896be0a59177e280c9091.tar.gz nissy-core-b218c803ae1110b08b4896be0a59177e280c9091.zip | |
sorted utils folder
Diffstat (limited to '')
| -rwxr-xr-x | utils/gentranscode.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gentranscode.sh b/utils/gentranscode.sh index 4501bad..8f0ae14 100755 --- a/utils/gentranscode.sh +++ b/utils/gentranscode.sh | |||
| @@ -9,7 +9,7 @@ sedavx() { sed '1,2s/$/ \\/ ; 3s/$/)/ ; 3q'; } | |||
| 9 | sedsrc() { sed '3s/$/ };/ ; 3q'; } | 9 | sedsrc() { sed '3s/$/ };/ ; 3q'; } |
| 10 | 10 | ||
| 11 | gen() { | 11 | gen() { |
| 12 | for f in transform_??_???.txt; do | 12 | for f in cubes/transform_??_???.txt; do |
| 13 | trans="$(echo $f | sed 's/.*_// ; s/\.txt//')" | 13 | trans="$(echo $f | sed 's/.*_// ; s/\.txt//')" |
| 14 | printf '#define _trans_cube_%s fastcube( \\\n ' "$trans" | 14 | printf '#define _trans_cube_%s fastcube( \\\n ' "$trans" |
| 15 | ./h48_to_lst <"$f" | 15 | ./h48_to_lst <"$f" |
