~johanvandegriff/BoggleSolver

ref: fde46a1ef766255560499ee9e1d78496a305bb98 BoggleSolver/stats/rename.sh -rw-r--r-- 161 bytes
fde46a1e — 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