the bitrig master branch has been updated by natano with 1 new commit: commit e0967002ad02e29e737ba21e8a8b1a8837205e9b diff: https://github.com/bitrig/bitrig/commit/e096700 author: Martin Natano <[email protected]> date: Thu Jul 30 08:37:42 2015 +0200
Account for newlines in substitution (s///) commands. Substitution commands might contain a newline in the replacement pattern (escaped with a backslash before it), causing patch's understanding of the state the ed child process is in to diverge from reality. This can lead to patch unwillingly feeding '!' (execute shell command) lines to ed. Finding out how to do this is left as an exercise to the reader. ok pedro@ M usr.bin/patch/pch.c
