Module Name:    src
Committed By:   riz
Date:           Sat May 11 21:59:29 UTC 2013

Modified Files:
        src/usr.bin/sed [netbsd-6]: process.c sed.1

Log Message:
Pull up following revision(s) (requested by uwe in ticket #888):
        usr.bin/sed/process.c: revision 1.39
        usr.bin/sed/sed.1: revision 1.30
        usr.bin/sed/sed.1: revision 1.31
The change ("c") command should start a new cycle.
Apply one line patch I posted in PR #45981 and document this in the
manual page.
Bump date for previous (PR #45981): the change ("c") command starts a
new cycle.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.38.8.1 src/usr.bin/sed/process.c
cvs rdiff -u -r1.27 -r1.27.20.1 src/usr.bin/sed/sed.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/sed/process.c
diff -u src/usr.bin/sed/process.c:1.38 src/usr.bin/sed/process.c:1.38.8.1
--- src/usr.bin/sed/process.c:1.38	Mon Apr 13 07:29:55 2009
+++ src/usr.bin/sed/process.c	Sat May 11 21:59:29 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: process.c,v 1.38 2009/04/13 07:29:55 lukem Exp $	*/
+/*	$NetBSD: process.c,v 1.38.8.1 2013/05/11 21:59:29 riz Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993, 1994
@@ -76,7 +76,7 @@
 #if 0
 static char sccsid[] = "@(#)process.c	8.6 (Berkeley) 4/20/94";
 #else
-__RCSID("$NetBSD: process.c,v 1.38 2009/04/13 07:29:55 lukem Exp $");
+__RCSID("$NetBSD: process.c,v 1.38.8.1 2013/05/11 21:59:29 riz Exp $");
 #endif
 #endif /* not lint */
 
@@ -168,7 +168,7 @@ redirect:
 				psl = 0;
 				if (cp->a2 == NULL || lastaddr)
 					(void)printf("%s", cp->t);
-				break;
+				goto new;
 			case 'd':
 				pd = 1;
 				goto new;

Index: src/usr.bin/sed/sed.1
diff -u src/usr.bin/sed/sed.1:1.27 src/usr.bin/sed/sed.1:1.27.20.1
--- src/usr.bin/sed/sed.1:1.27	Sun Sep 21 16:46:01 2008
+++ src/usr.bin/sed/sed.1	Sat May 11 21:59:29 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sed.1,v 1.27 2008/09/21 16:46:01 wiz Exp $
+.\"	$NetBSD: sed.1,v 1.27.20.1 2013/05/11 21:59:29 riz Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"	@(#)sed.1	8.2 (Berkeley) 12/30/93
 .\"
-.Dd September 21, 2008
+.Dd March 17, 2013
 .Dt SED 1
 .Os
 .Sh NAME
@@ -290,6 +290,7 @@ Delete the pattern space.
 With 0 or 1 address or at the end of a 2-address range,
 .Em text
 is written to the standard output.
+Start the next cycle.
 .sp
 .It [2addr]d
 Delete the pattern space and start the next cycle.

Reply via email to