#!/bin/tcsh

# this script runs over all supported languages and compares the 1st (MAUS) and 2nd (SAMPA) 
# column in the KANINVENTAR.inv files and reports these

foreach lng ( PARAM.???-?? )
  echo "Language: `echo $lng | sed 's%PARAM\.%%'`"
  cut -f 1-2 $lng/KANINVENTAR.inv | awk '! /^%/{if($1 != $2) print}'
end

exit 0
