From owner-cvs-usrbin Sun Feb 5 16:14:56 1995 Return-Path: cvs-usrbin-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA01555 for cvs-usrbin-outgoing; Sun, 5 Feb 1995 16:14:56 -0800 Received: (from jmz@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA01544; Sun, 5 Feb 1995 16:14:51 -0800 Date: Sun, 5 Feb 1995 16:14:51 -0800 From: Jean-Marc Zucconi Message-Id: <199502060014.QAA01544@freefall.cdrom.com> To: CVS-commiters, cvs-usrbin Subject: cvs commit: src/usr.bin/sed process.c Sender: cvs-usrbin-owner@freebsd.org Precedence: bulk jmz 95/02/05 16:14:51 Modified: usr.bin/sed process.c Log: Correct a bug in the P function: according to 7th edition UNIX (tm), the newline must be part of the pattern space i.e. `echo a|sed -e P' must print a a and not aa This is consistent with gnu sed, SunOS, Ultrix (and probably others!)