#!/bin/sh

thisyear=`date +%y`
lastyear=10

if ( test $thisyear -lt 10 ) 
  then
    case "$thisyear" in
      00) lastyear="99";;
      01) lastyear="00";;
    esac
    echo "year is equal to 0\n";
  else 
    echo "year is not greater than 10\n";
fi

echo $thisyear
echo $lastyear
