HomeFreeBSD

For the P function, the newline must be considered a part of the pattern

Description

For the P function, the newline must be considered a part of the pattern
space, so when printing it, don't let the pattern space and the output run
into eachother by omitting the \n when printing.

Details

Provenance
jmallettAuthored on Apr 21 2002, 1:27 AM
Parents
rGdd281fa5891f: Add sed(1) tests for proper behaviour of the G option as fixed in PR 26152,
Branches
Unknown
Tags
Unknown

Event Timeline