~johanvandegriff/BoggleSolver

ref: 575f79b9563259431ce7963d29976b14f432d040 BoggleSolver/stats/rename.sh -rw-r--r-- 161 bytes
575f79b9 — Johan Vandegriff Add files via upload 5 years ago
                                                                                
1
2
3
4
5
6
7
8
#!/bin/bash

for file in `ls boards`
do
  newfile=`expr "$file" + 0`
  newfile=`printf "%3s" "$newfile" | tr " " "0"`
  mv "boards/$file" "boards/$newfile"
done