Tools to work with Fortran Namelists and Jobcards
If you want to change GiBUU input jobcards via a (bash) script, one way is to store the skeleton as a template, where the variables you want to change are given by placeholders like XXX. YYY etc.
Then you may use
sed to replace the placeholder by the actual value, e.g. "sed s/XXX/myValue/"
Recently (april 2022) I became aware of two projects at GitHub, which are capable of reading in, changing, fine printing, comparing etc. of Fortran jobcards/namelists, written in Python: