#!/bin/bash

INFO=$1
DIR=$2

for FICH in `ls $DIR/*.cpp`
do
  AUX=$FICH.auxiliar
  cat $INFO >> $AUX
  cat $FICH >> $AUX
  mv $AUX $FICH
done

exit 0