Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/usr.bin/sed Pull up following revision(s) (requested by u...
details: https://anonhg.NetBSD.org/src/rev/29bedb567b09
branches: netbsd-6
changeset: 775787:29bedb567b09
user: riz <riz%NetBSD.org@localhost>
date: Sat May 11 21:59:29 2013 +0000
description:
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.
diffstat:
usr.bin/sed/process.c | 6 +++---
usr.bin/sed/sed.1 | 5 +++--
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r dce6f81e65ff -r 29bedb567b09 usr.bin/sed/process.c
--- a/usr.bin/sed/process.c Sat May 11 21:51:23 2013 +0000
+++ b/usr.bin/sed/process.c Sat May 11 21:59:29 2013 +0000
@@ -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 @@
psl = 0;
if (cp->a2 == NULL || lastaddr)
(void)printf("%s", cp->t);
- break;
+ goto new;
case 'd':
pd = 1;
goto new;
diff -r dce6f81e65ff -r 29bedb567b09 usr.bin/sed/sed.1
--- a/usr.bin/sed/sed.1 Sat May 11 21:51:23 2013 +0000
+++ b/usr.bin/sed/sed.1 Sat May 11 21:59:29 2013 +0000
@@ -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 @@
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.
Home |
Main Index |
Thread Index |
Old Index