Add a test for the 'P' command and fix current implementation so it
doesnt permanently modify the pattern space.
2 files changed