#!/bin/bash # delete forst line sed '/setup_case()/d' setup_case.py > temp_file # add new first line plus global declarations cat ../global temp_file modify_case.py ../synt_fluct.py \ ../pyCALC-LES.py > exec-pyCALC-LES.py; /usr/bin/time -o out python -u exec-pyCALC-LES.py > out