#!/bin/sh

exec < $1 >> $1
echo "$2"
read i
if [ "$i" != "$2" ]
then
  exit 1
else
  exit 0
fi
