These lines resemble ed subcommands to convert file1 into file2.
In reply to Re^3: diff command by choroba in thread diff command by bjohn