Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9653) BUG: Maybe very easy, maybe not: savegame no
Home

[Freeciv-Dev] Re: (PR#9653) BUG: Maybe very easy, maybe not: savegame no

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9653) BUG: Maybe very easy, maybe not: savegame no more mach in positive years!
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Aug 2004 01:24:34 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9653 >

For me the savegames seem to diverge at 1400 BC.

jason


#!/bin/bash

# usage: ./compare_games.sh dir1 dir2

echo $1 $2

cd $1
L1=`ls -1 civgame*`
cd ..

for i in $L1; do
  STAT="";
  if [ ! -s $2/$i ]; then
    STAT="missing";
  fi
  cmp -s $1/$i $2/$i && STAT="identical";
  echo "$i : $STAT";
done;

[Prev in Thread] Current Thread [Next in Thread]