#!/bin/bash

replay_comment="replay automatic include"
\rm -f dump_replay*.h mcall_param_replay.F90 dump_ini_module.F90 get_ini_module.F90 input tmp tmp2
for file in `grep "$replay_comment" *F90 | cut -d: -f1` ; do
   sed -i"" -e "/$replay_comment/d" $file
done
