I switched to js for dev related scripting after seeing how much python scripting is used for portable c++ projects like chromium.
A node glob() or a regexp string.replace call is probably easier to read than spaghetti shell.
And your llm might do a much better job of creating clean, readable and testable code.