aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.sh
blob: efd480e6ba860c93411a4fd2932b13e7d256a11a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set -eu

rm -f pw.*.rb pw.*.*.rb

for i in {1..5}; do
    ruby pw.rb $i > pw.$i.rb
done

for i in {1..5}; do
    for j in {1..5}; do
        ruby pw.$i.rb $j > pw.$i.$j.rb
    done
done

for i in {1..5}; do
    for j in {1..5}; do
        diff pw.$i.rb pw.$j.$i.rb
    done
done
echo "okay"