diff options
| -rwxr-xr-x | convert.sh | 22 | ||||
| -rwxr-xr-x | run-old | bin | 177064 -> 0 bytes |
2 files changed, 0 insertions, 22 deletions
diff --git a/convert.sh b/convert.sh deleted file mode 100755 index ba5aa96..0000000 --- a/convert.sh +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | for f in $@; do | ||
| 4 | if [ ! -f "$f" ]; then | ||
| 5 | echo "File $f does not exist" | ||
| 6 | exit 1 | ||
| 7 | fi | ||
| 8 | done | ||
| 9 | |||
| 10 | for f in $@; do | ||
| 11 | while read -r line; do | ||
| 12 | #c=$(cat "$f") | ||
| 13 | c="$line" | ||
| 14 | cc="$(./run-old convert -fin H48 -fout B32 -cubestr "$c" 2>/dev/null)" | ||
| 15 | if [ -z "$cc" ]; then | ||
| 16 | echo "$line" | ||
| 17 | else | ||
| 18 | echo "$cc=A" | ||
| 19 | fi | ||
| 20 | done < "$f" > "$f.new" | ||
| 21 | mv "$f.new" "$f" | ||
| 22 | done | ||
diff --git a/run-old b/run-old deleted file mode 100755 index aff1c5a..0000000 --- a/run-old +++ /dev/null | |||
| Binary files differ | |||
