A sandbox where I try to devise the appropriate sed
commands to
update any MESA inlist for the upcoming changes to the PGstar
controls.
-
test_input.txt
contains some example input controls. This aims to cover controls that have changed and a few that haven't but might accidentally get changed by ased
command. -
expected_output.txt
contains the output thattest_input.txt
should be replaced by. This is curated manually as a reference for what thesed
commands should do. -
run.sh
is a script that runs somesed
commands on the file in the first argument anddiff
s the output relative to the file in the second argument to see if we're doing things right.