Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Bitrig base system repository.
C C++ Perl LLVM Groff Assembly Other

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@
latest commit e0967002ad
@natano natano authored


Bitrig - Base system repository.

Bitrig is a free, fast, secure, and highly portable Unix-like Open Source
operating system. It is available on current hardware platforms. The source
code is freely available under a non-viral license.

To learn more please visit

Bitcoin: 1M8eE7vFxcjCgqFvxKnSvRoBvx3RwJVWiR
Something went wrong with that request. Please try again.